spec/alternative_spec.rb in split-3.4.1 vs spec/alternative_spec.rb in split-4.0.0.pre
- old
+ new
@@ -124,10 +124,10 @@
expect(alternative.experiment.name).to eq(experiment.name)
end
it "should save to redis" do
alternative.save
- expect(Split.redis.exists('basket_text:Basket')).to be true
+ expect(Split.redis.exists?('basket_text:Basket')).to be true
end
it "should increment participation count" do
old_participant_count = alternative.participant_count
alternative.increment_participation