test/storage/memory_storage_test.rb in verdict-0.11.0 vs test/storage/memory_storage_test.rb in verdict-0.12.0
- old
+ new
@@ -33,11 +33,11 @@
@storage.remove_assignment(@experiment, @subject.id)
assert !@experiment.assign(@subject).returning?
end
def test_started_at
- assert @storage.get(@experiment.handle.to_s, 'started_at').nil?
+ assert @storage.send(:get, @experiment.handle.to_s, 'started_at').nil?
@experiment.send(:ensure_experiment_has_started)
- refute @storage.get(@experiment.handle.to_s, 'started_at').nil?
+ refute @storage.send(:get, @experiment.handle.to_s, 'started_at').nil?
assert_instance_of Time, @experiment.started_at
end
end