chore: fix spelling in railties/test/generators
This commit is contained in:
parent
b8c67807b4
commit
8d383382b9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user