Skip to content

Commit

Permalink
Merge pull request #375 from greysteil/fix-spec
Browse files Browse the repository at this point in the history
Don't specify error type when speccing that a method doesn't raise
  • Loading branch information
nateberkopec committed Oct 5, 2015
2 parents f2580ae + 911c75b commit 8682577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/raven/integrations/rack_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
end

stack = Raven::Rack.new(Rack::Lint.new(app))
expect { stack.call(env) }.to_not raise_error(Rack::Lint::LintError)
expect { stack.call(env) }.to_not raise_error
end

end

0 comments on commit 8682577

Please sign in to comment.