Skip to content

Commit

Permalink
Reorganize test_option tests and added testspec case.
Browse files Browse the repository at this point in the history
  • Loading branch information
technicalpickles committed Oct 19, 2009
1 parent f1f3135 commit c674591
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions test/jeweler/generator/test_options.rb
Expand Up @@ -58,16 +58,12 @@ def self.for_options(*options)
end
end

for_options '--shoulda' do
should_have_testing_framework :shoulda
end

for_options "--bacon" do
should_have_testing_framework :bacon
end

for_options "--testunit" do
should_have_testing_framework :testunit
for_options '--micronaut' do
should_have_testing_framework :micronaut
end

for_options '--minitest' do
Expand All @@ -78,8 +74,16 @@ def self.for_options(*options)
should_have_testing_framework :rspec
end

for_options '--micronaut' do
should_have_testing_framework :micronaut
for_options '--shoulda' do
should_have_testing_framework :shoulda
end

for_options "--testunit" do
should_have_testing_framework :testunit
end

for_options "--testspec" do
should_have_testing_framework :testspec
end

for_options '--cucumber' do
Expand Down

0 comments on commit c674591

Please sign in to comment.