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

Fixing typo in test for turn gem

This commit is contained in:
Guillermo Iguaran 2011-05-18 00:31:01 -05:00
parent 2692d3278a
commit d52fc25ac7

View file

@ -213,7 +213,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
def test_turn_gem_is_not_included_in_gemfile_if_skipping_test_unit def test_turn_gem_is_not_included_in_gemfile_if_skipping_test_unit
run_generator [destination_root, "--skip-test-unit"] run_generator [destination_root, "--skip-test-unit"]
assert_file "Gemfile" do |contents| assert_file "Gemfile" do |contents|
assert_no_match /gem 'tuarn'/, contents unless RUBY_VERSION < '1.9.2' assert_no_match /gem 'turn'/, contents unless RUBY_VERSION < '1.9.2'
end end
end end