spec/springboard/client/resource_spec.rb in springboard-retail-4.0.1 vs spec/springboard/client/resource_spec.rb in springboard-retail-4.1.0
- old
+ new
@@ -4,13 +4,9 @@
include_context "client"
let(:resource_path) { '/some/path' }
let(:resource) { Springboard::Client::Resource.new(client, resource_path) }
- def parse_uri(uri)
- Addressable::URI.parse(uri)
- end
-
describe "[]" do
it "should return a new resource" do
expect(resource["subpath"]).to be_a Springboard::Client::Resource
expect(resource["subpath"].object_id).not_to eq(resource.object_id)
end