test/experiments_repository_test.rb in verdict-0.11.0 vs test/experiments_repository_test.rb in verdict-0.12.0
- old
+ new
@@ -26,7 +26,8 @@
e2 = Verdict::Experiment.define('test_2') { groups { group :all, 100 } }
json = JSON.parse(Verdict.repository.to_json)
assert_equal ['test_1', 'test_2'], json.keys
assert_equal json['test_1'], JSON.parse(e1.to_json)
+ assert_equal json['test_2'], JSON.parse(e2.to_json)
end
end