spec/persistence/session_adapter_spec.rb in split-4.0.1 vs spec/persistence/session_adapter_spec.rb in split-4.0.2

- old
+ new

@@ -1,11 +1,11 @@ # frozen_string_literal: true + require "spec_helper" describe Split::Persistence::SessionAdapter do - - let(:context) { double(:session => {}) } + let(:context) { double(session: {}) } subject { Split::Persistence::SessionAdapter.new(context) } describe "#[] and #[]=" do it "should set and return the value for given key" do subject["my_key"] = "my_value" @@ -26,7 +26,6 @@ subject["my_key"] = "my_value" subject["my_second_key"] = "my_second_value" expect(subject.keys).to match(["my_key", "my_second_key"]) end end - end