1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

View file

@ -31,13 +31,13 @@ class ActionsTest < Rails::Generators::TestCase
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

View file

@ -758,8 +758,8 @@ class AppGeneratorTest < Rails::Generators::TestCase
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