Skip to content

Commit 14e7f41

Browse files
committed
rspec has RaiseException instead of RailsError now
1 parent 577c2b5 commit 14e7f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/commands/command_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def run
3131
if @expected_result
3232
expectation, result = @expected_result
3333
case result
34-
when Spec::Matchers::RaiseError, Spec::Matchers::Change, Spec::Matchers::ThrowSymbol
34+
when Spec::Matchers::RaiseException, Spec::Matchers::Change, Spec::Matchers::ThrowSymbol
3535
invoke.send expectation, result
3636
else
3737
invoke.call.send expectation, result

0 commit comments

Comments
 (0)