Skip to content

Loading…

Fixing typo in test for turn gem #1116

Merged
merged 1 commit into from

4 participants

@guilleiguaran
Ruby on Rails member

No description provided.

@siong1987

Opss. My bad.

@dmathieu

Perhaps you should also add a test that checks the gem is included when it should be.

@dmathieu

See Pull Request #1121

@josevalim josevalim merged commit 1ccacd4 into rails:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 18, 2011
  1. @guilleiguaran
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/app_generator_test.rb
View
2 railties/test/generators/app_generator_test.rb
@@ -213,7 +213,7 @@ def test_inclusion_of_turn_gem_in_gemfile
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
Something went wrong with that request. Please try again.