spec/lib/ldp/resource_spec.rb in ldp-0.4.1 vs spec/lib/ldp/resource_spec.rb in ldp-0.5.0
- old
+ new
@@ -45,11 +45,10 @@
end
context "when the resource is in the repository" do
let(:path) { '/a_resource' }
it "should get the response" do
- expect(subject.get).to be_kind_of Faraday::Response
- expect(subject.get.status).to eq 200
+ expect(subject.get).to be_kind_of Ldp::Response
end
end
end
describe "#new?" do