spec/persistence/session_adapter_spec.rb in split-0.6.2 vs spec/persistence/session_adapter_spec.rb in split-0.6.3

- old
+ new

@@ -1,9 +1,9 @@ require "spec_helper" describe Split::Persistence::SessionAdapter do - let(:context) { mock(: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" \ No newline at end of file