spec/unit/rack/validation/request_method_spec.rb in goliath-0.9.0 vs spec/unit/rack/validation/request_method_spec.rb in goliath-0.9.1
- old
+ new
@@ -5,10 +5,10 @@
before(:each) do
@app = mock('app').as_null_object
end
it 'accepts an app' do
- lambda { Goliath::Rack::Validation::RequestMethod.new('my app') }.should_not raise_error(Exception)
+ lambda { Goliath::Rack::Validation::RequestMethod.new('my app') }.should_not raise_error
end
describe 'with defaults' do
before(:each) do
@env = {}
\ No newline at end of file