chore: fix spelling in railties/test/generators

This commit is contained in:
John Bampton 2021-04-12 09:24:57 +10:00
parent b8c67807b4
commit 8d383382b9
2 changed files with 6 additions and 6 deletions

@ -31,13 +31,13 @@ def test_invoke_other_generator_with_full_namespace
end
def test_create_file_should_write_data_to_file_path
action :create_file, "lib/test_file.rb", "heres test data"
assert_file "lib/test_file.rb", "heres test data"
action :create_file, "lib/test_file.rb", "here's test data"
assert_file "lib/test_file.rb", "here's test data"
end
def test_create_file_should_write_block_contents_to_file_path
action(:create_file, "lib/test_file.rb") { "heres block data" }
assert_file "lib/test_file.rb", "heres block data"
action(:create_file, "lib/test_file.rb") { "here's block data" }
assert_file "lib/test_file.rb", "here's block data"
end
def test_add_source_adds_source_to_gemfile

@ -758,8 +758,8 @@ def test_default_namespace
end
def test_file_is_added_for_backwards_compatibility
action :file, "lib/test_file.rb", "heres test data"
assert_file "lib/test_file.rb", "heres test data"
action :file, "lib/test_file.rb", "here's test data"
assert_file "lib/test_file.rb", "here's test data"
end
def test_pretend_option