From 8d383382b9043a488f5155ea80d30876d6d148ea Mon Sep 17 00:00:00 2001 From: John Bampton Date: Mon, 12 Apr 2021 09:24:57 +1000 Subject: [PATCH] chore: fix spelling in railties/test/generators --- railties/test/generators/actions_test.rb | 8 ++++---- railties/test/generators/app_generator_test.rb | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) 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