Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions railties/test/generators/app_generator_test.rb
Expand Up @@ -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' assert_no_match /gem 'tuarn'/, contents unless RUBY_VERSION < '1.9.2'
end end
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 def test_inclusion_of_ruby_debug
run_generator run_generator
Expand Down