diff options
author | aus-social <42644106+aus-social@users.noreply.github.com> | 2018-10-04 20:36:53 +1000 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-10-04 12:36:53 +0200 |
commit | 1f98eae1cf916a18007a26e1740b0e65aa7ff752 (patch) | |
tree | 9d4a8811cbf8ac39a3c8e4923dd5f18c2563959f /spec/controllers/remote_unfollows_controller_spec.rb | |
parent | 928102284a4e77e5f0ab340f4516749d665c2d67 (diff) |
Lint pass (#8876)
Diffstat (limited to 'spec/controllers/remote_unfollows_controller_spec.rb')
-rw-r--r-- | spec/controllers/remote_unfollows_controller_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/remote_unfollows_controller_spec.rb b/spec/controllers/remote_unfollows_controller_spec.rb index 223ed64af..a1a55ede0 100644 --- a/spec/controllers/remote_unfollows_controller_spec.rb +++ b/spec/controllers/remote_unfollows_controller_spec.rb @@ -14,11 +14,11 @@ describe RemoteUnfollowsController do before do sign_in current_user current_account.follow!(remote_account) - stub_request(:post, 'http://example.com/inbox'){ { status: 200 } } + stub_request(:post, 'http://example.com/inbox') { { status: 200 } } end context 'when successfully unfollow remote account' do - let(:acct) {"acct:#{ remote_account.username }@#{ remote_account.domain }"} + let(:acct) { "acct:#{remote_account.username}@#{remote_account.domain}" } it do is_expected.to render_template :success @@ -27,7 +27,7 @@ describe RemoteUnfollowsController do end context 'when fails to unfollow remote account' do - let(:acct) {"acct:#{ remote_account.username + '_test' }@#{ remote_account.domain }"} + let(:acct) { "acct:#{remote_account.username + '_test'}@#{remote_account.domain}" } it do is_expected.to render_template :error |