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

Merge pull request #1116 from guilleiguaran/typo_in_app_generator_test

Fixing typo in test for turn gem
This commit is contained in:
José Valim 2011-05-18 06:04:30 -07:00
commit 1ccacd4ee3

View file

@ -213,7 +213,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
def test_turn_gem_is_not_included_in_gemfile_if_skipping_test_unit
run_generator [destination_root, "--skip-test-unit"]
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