spec/lib/fedex/address_spec.rb in fedex-3.6.1 vs spec/lib/fedex/address_spec.rb in fedex-3.8.0
- old
+ new
@@ -24,14 +24,14 @@
end
it "validates the address" do
address = fedex.validate_address(options)
- address.residential.should be_true
- address.business.should be_false
- address.score.should == 100
+ expect(address.residential).to be_truthy
+ expect(address.business).to be_falsey
+ expect(address.score).to eq(100)
- address.postal_code.should == "06850-3901"
+ expect(address.postal_code).to eq("06850-3901")
end
end
context "multiple address validation results", :vcr do
let(:address) do