Delete unused methods
This commit is contained in:
@@ -11,10 +11,6 @@ shared_examples_for 'a REST adapter' do
|
|||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
end
|
end
|
||||||
|
|
||||||
def config_file
|
|
||||||
raise NotImplementedError
|
|
||||||
end
|
|
||||||
|
|
||||||
it "returns 404 on non-existing routes" do
|
it "returns 404 on non-existing routes" do
|
||||||
get "/virginmargarita"
|
get "/virginmargarita"
|
||||||
last_response.status.must_equal 404
|
last_response.status.must_equal 404
|
||||||
|
|||||||
@@ -9,10 +9,6 @@ describe "Swift provider" do
|
|||||||
RemoteStorage::Swift
|
RemoteStorage::Swift
|
||||||
end
|
end
|
||||||
|
|
||||||
def config_file
|
|
||||||
"config.yml.example.swift"
|
|
||||||
end
|
|
||||||
|
|
||||||
before do
|
before do
|
||||||
stub_request(:put, "#{container_url_for("phil")}/food/aguacate").
|
stub_request(:put, "#{container_url_for("phil")}/food/aguacate").
|
||||||
to_return(status: 200, headers: { etag: "0815etag", last_modified: "Fri, 04 Mar 2016 12:20:18 GMT" })
|
to_return(status: 200, headers: { etag: "0815etag", last_modified: "Fri, 04 Mar 2016 12:20:18 GMT" })
|
||||||
|
|||||||
Reference in New Issue
Block a user