Permalink
Browse files

rspec has RaiseException instead of RailsError now

  • Loading branch information...
1 parent 577c2b5 commit 14e7f4110cc085dd23c16f7a01409ebdcc87c4b2 @drnic drnic committed May 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/commands/command_helper.rb
@@ -31,7 +31,7 @@ def run
if @expected_result
expectation, result = @expected_result
case result
- when Spec::Matchers::RaiseError, Spec::Matchers::Change, Spec::Matchers::ThrowSymbol
+ when Spec::Matchers::RaiseException, Spec::Matchers::Change, Spec::Matchers::ThrowSymbol
invoke.send expectation, result
else
invoke.call.send expectation, result

0 comments on commit 14e7f41

Please sign in to comment.