Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

make sure we add the dependency to turn if required #1121

Closed
wants to merge 1 commit into from

2 participants

@dmathieu
Collaborator

This follows this pull request.

@siong1987

This is duplicate of 5df9d00

@dmathieu
Collaborator

My bad, I didn't see it.

@dmathieu dmathieu closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 18, 2011
  1. @dmathieu
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 0 deletions.
  1. +7 −0 railties/test/generators/app_generator_test.rb
View
7 railties/test/generators/app_generator_test.rb
@@ -216,6 +216,13 @@ def test_turn_gem_is_not_included_in_gemfile_if_skipping_test_unit
assert_no_match /gem 'tuarn'/, contents unless RUBY_VERSION < '1.9.2'
end
end
+
+ def test_turn_gem_is_included_in_gemfile
+ run_generator [destination_root]
+ assert_file "Gemfile" do |contents|
+ assert_match /gem 'turn'/, contents unless RUBY_VERSION < '1.9.2'
+ end
+ end
def test_inclusion_of_ruby_debug
run_generator
Something went wrong with that request. Please try again.