lib/fix/expectation_low.rb in fix-0.6.0 vs lib/fix/expectation_low.rb in fix-0.6.1
- old
+ new
@@ -1,20 +1,8 @@
require_relative 'expectation_medium'
module Fix
class ExpectationLow < ExpectationMedium
- def evaluate front_object
- subject = Subject.new front_object, *@args
- got = nil
-
- Thread.new {
- report = expect { got = subject.actual }.public_send target, @definition
- data = presenter report, got, subject
-
- Hash[ data.to_a + meta(subject).to_a ].merge object: front_object
- }.value
- end
-
private
def pass result, subject
if subject.implemented?
super