Permalink
Browse files

updated to work on rails 3.1

  they removed the default_test method from active support (and the Rails::Generator::TestCast)
  rails/rails@ff2fdcc
  • Loading branch information...
alexrothenberg committed Jun 10, 2011
1 parent 4ab2baf commit b4110497c9b73797f2ae8b9d13afc3c80fabbfbb
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ammeter/rspec/generator/example/generator_example_group.rb
@@ -18,7 +18,7 @@ module ClassMethods
delegate :destination, :arguments, :to => :'self.test_unit_test_case_delegate.class'
def initialize_delegate
- self.test_unit_test_case_delegate = Rails::Generators::TestCase.new 'default_test'
+ self.test_unit_test_case_delegate = Rails::Generators::TestCase.new 'pending'
self.test_unit_test_case_delegate.class.tests(describes)
end

0 comments on commit b411049

Please sign in to comment.