From 5da0d0b5c345e2a2b199b08494435e630806bdf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Mon, 30 Apr 2018 15:44:49 +0200 Subject: [PATCH] Delete unused methods --- spec/shared_examples.rb | 4 ---- spec/swift/app_spec.rb | 4 ---- 2 files changed, 8 deletions(-) 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" })