spec/context_spec.rb in arrthorizer-0.1.3 vs spec/context_spec.rb in arrthorizer-0.2.0

- old
+ new

@@ -24,26 +24,26 @@ end it "returns an Arrthorizer::Context" do result = Arrthorizer::Context(arg) - result.should be_an Arrthorizer::Context + expect(result).to be_an Arrthorizer::Context end describe "the returned Arrthorizer::Context" do let(:result) { Arrthorizer::Context(arg) } specify "it contains the same key-value pairs" do - result.send(key).should == value + expect(result.send(key)).to eql(value) end end end context "when an Arrthorizer::Context is provided" do let(:param) { Arrthorizer::Context.new } specify "that context is returned unmodified" do - Arrthorizer::Context(param).should be(param) + expect(Arrthorizer::Context(param)).to be(param) end end end end