about summary refs log tree commit diff
path: root/spec/lib/ostatus
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-19 23:00:48 -0500
committerGitHub <noreply@github.com>2023-02-20 05:00:48 +0100
commit38a1d8bb85da6c7a52a3bde28af368b8d2104d02 (patch)
tree31177e4c677da7ad7afc1c0fbda52b3146998339 /spec/lib/ostatus
parent63e63538861bd850a38a282e37de046639afa993 (diff)
Autofix Rubocop RSpec/ImplicitSubject (#23721)
Diffstat (limited to 'spec/lib/ostatus')
-rw-r--r--spec/lib/ostatus/tag_manager_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/ostatus/tag_manager_spec.rb b/spec/lib/ostatus/tag_manager_spec.rb
index 31195bae2..65ba7577a 100644
--- a/spec/lib/ostatus/tag_manager_spec.rb
+++ b/spec/lib/ostatus/tag_manager_spec.rb
@@ -45,7 +45,7 @@ describe OStatus::TagManager do
 
       it 'returns the unique tag for status' do
         expect(target.object_type).to eq :comment
-        is_expected.to eq target.uri
+        expect(subject).to eq target.uri
       end
     end
 
@@ -54,7 +54,7 @@ describe OStatus::TagManager do
 
       it 'returns the unique tag for status' do
         expect(target.object_type).to eq :note
-        is_expected.to eq target.uri
+        expect(subject).to eq target.uri
       end
     end
 
@@ -63,7 +63,7 @@ describe OStatus::TagManager do
 
       it 'returns the URL for account' do
         expect(target.object_type).to eq :person
-        is_expected.to eq 'https://cb6e6126.ngrok.io/users/alice'
+        expect(subject).to eq 'https://cb6e6126.ngrok.io/users/alice'
       end
     end
   end