test/conversion_test.rb in verdict-0.3.2 vs test/conversion_test.rb in verdict-0.4.0
- old
+ new
@@ -17,10 +17,10 @@
conversion = Verdict::Conversion.new(@experiment, 'test_subject_id', :test_goal)
assert_equal subject, conversion.subject
end
def test_assignment_lookup
- @experiment.subject_storage.expects(:retrieve_assignment).with(@experiment, 'test_subject_id')
+ @experiment.storage.expects(:retrieve_assignment).with(@experiment, 'test_subject_id')
conversion = Verdict::Conversion.new(@experiment, 'test_subject_id', :test_goal)
conversion.assignment
end
def test_json_representation