diff options
author | ashleyhull-versent <ashley.hull@versent.com.au> | 2018-10-08 13:50:11 +1100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-10-08 04:50:11 +0200 |
commit | f194857ac9eeb85f9b27c056c556038aee23cb43 (patch) | |
tree | fa6f5dd3df450849f85924b7abbfdb40f73f036b /spec/controllers/api/subscriptions_controller_spec.rb | |
parent | a00ce8c92c06f42109aad5cfe65d46862cf037bb (diff) |
rubocop issues - Cleaning up (#8912)
* cleanup pass * undo mistakes * fixed. * revert
Diffstat (limited to 'spec/controllers/api/subscriptions_controller_spec.rb')
-rw-r--r-- | spec/controllers/api/subscriptions_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/api/subscriptions_controller_spec.rb b/spec/controllers/api/subscriptions_controller_spec.rb index b46971a54..7a4252fe6 100644 --- a/spec/controllers/api/subscriptions_controller_spec.rb +++ b/spec/controllers/api/subscriptions_controller_spec.rb @@ -33,7 +33,7 @@ RSpec.describe Api::SubscriptionsController, type: :controller do end describe 'POST #update' do - let(:feed) { File.read(File.join(Rails.root, 'spec', 'fixtures', 'push', 'feed.atom')) } + let(:feed) { File.read(Rails.root.join('spec', 'fixtures', 'push', 'feed.atom')) } before do stub_request(:post, "https://quitter.no/main/push/hub").to_return(:status => 200, :body => "", :headers => {}) |