WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 71685ad

Browse files
committed
further clean-up
1 parent 17f2f95 commit 71685ad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/rspec/rails/matchers/have_reported_error.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def failure_message_when_negated
114114

115115
def error_matches_expectation?
116116
return true if @expected_error.nil? && @error_subscriber.events.any?
117-
return false if actual_error.nil?
118117

119118
case @expected_error
120119
when Class

0 commit comments

Comments
 (0)