diff --git a/railties/test/generators/actions_test.rb b/railties/test/generators/actions_test.rb index a24c29169f..b83c8e8a82 100644 --- a/railties/test/generators/actions_test.rb +++ b/railties/test/generators/actions_test.rb @@ -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 diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index a58553d8e5..c68e9ef4cf 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -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