diff --git a/spec/shared_examples.rb b/spec/shared_examples.rb index ec74e15..baa6900 100644 --- a/spec/shared_examples.rb +++ b/spec/shared_examples.rb @@ -11,10 +11,6 @@ shared_examples_for 'a REST adapter' do raise NotImplementedError end - def config_file - raise NotImplementedError - end - it "returns 404 on non-existing routes" do get "/virginmargarita" last_response.status.must_equal 404 diff --git a/spec/swift/app_spec.rb b/spec/swift/app_spec.rb index ef31cb9..41884f3 100644 --- a/spec/swift/app_spec.rb +++ b/spec/swift/app_spec.rb @@ -9,10 +9,6 @@ describe "Swift provider" do RemoteStorage::Swift end - def config_file - "config.yml.example.swift" - end - before do 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" })