Skip to content

Commit 3cf3555

Browse files
authored
Merge pull request #608 from y-yagi/fix_typo_in_inject_into_module_test
Fix typo in `inject_into_module` test
2 parents 9ddc4ec + a222676 commit 3cf3555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/actions/file_manipulation_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def file
373373
expect(action(:inject_into_module, "application_helper.rb", ApplicationHelper, " def help; 'help'; end\n")).to eq(" insert application_helper.rb\n")
374374
end
375375

376-
it "does not append if class name does not match" do
376+
it "does not append if module name does not match" do
377377
action :inject_into_module, "application_helper.rb", "App", " def help; 'help'; end\n"
378378
expect(File.binread(file)).to eq("module ApplicationHelper\nend\n")
379379
end

0 commit comments

Comments
 (0)