spec/persistence/redis_adapter_spec.rb in split-4.0.2 vs spec/persistence/redis_adapter_spec.rb in split-4.0.3

- old
+ new

@@ -71,12 +71,12 @@ context "functional tests" do before { Split::Persistence::RedisAdapter.with_config(lookup_by: "lookup") } describe "#[] and #[]=" do - it "should set and return the value for given key" do - subject["my_key"] = "my_value" - expect(subject["my_key"]).to eq("my_value") + it "should convert to string, set and return the value for given key" do + subject["my_key"] = true + expect(subject["my_key"]).to eq("true") end end describe "#delete" do it "should delete the given key" do