]> cat aescling's git repositories - mastodon.git/commitdiff
Remove pending specs for methods that dont exist (#1658)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Thu, 13 Apr 2017 00:51:13 +0000 (20:51 -0400)
committerEugen <eugen@zeonfederated.com>
Thu, 13 Apr 2017 00:51:13 +0000 (02:51 +0200)
* Remote spec for non-existent entry_classes helper method

This method no longer exists, and is handled by a local variable in a partial
instead.

* Remove spec for non-existent Account#ping! method

spec/helpers/stream_entries_helper_spec.rb
spec/models/account_spec.rb

index a83133917e4f17590ffa147d8649086dac262018..e2544e311a010b93d454844e7ab9622bd1c64c35 100644 (file)
@@ -14,8 +14,4 @@ RSpec.describe StreamEntriesHelper, type: :helper do
       expect(helper.display_name(account)).to eq "Username"
     end
   end
-
-  describe '#entry_classes' do
-    pending
-  end
 end
index fb367ab7a099e8475cd8d2a6cc7ab14e30b64198..46c1ff63c0e62969c42d0b079eca72effb3e4a28 100644 (file)
@@ -118,10 +118,6 @@ RSpec.describe Account, type: :model do
     end
   end
 
-  describe '#ping!' do
-    pending
-  end
-
   describe '#favourited?' do
     let(:original_status) do
       author = Fabricate(:account, username: 'original')