enable some skipped tests again
This commit is contained in:
parent
7db9d7733c
commit
ecbf5fa3e7
3 changed files with 4 additions and 9 deletions
|
|
@ -108,12 +108,10 @@ describe NotificationsController, :type => :controller do
|
|||
end
|
||||
|
||||
it "should provide a contacts menu for start sharing notifications" do
|
||||
skip # TODO
|
||||
|
||||
eve.share_with(alice.person, eve.aspects.first)
|
||||
get :index, "per_page" => 5
|
||||
|
||||
expect(Nokogiri(response.body).css('.aspect_membership')).not_to be_empty
|
||||
expect(Nokogiri(response.body).css(".aspect_membership")).not_to be_empty
|
||||
end
|
||||
|
||||
it 'succeeds on mobile' do
|
||||
|
|
|
|||
|
|
@ -70,10 +70,9 @@ describe 'making sure the spec runner works' do
|
|||
end
|
||||
end
|
||||
|
||||
describe '#post' do
|
||||
it 'creates a notification with a mention' do
|
||||
skip("TODO: handle local receive") # TODO
|
||||
expect{
|
||||
describe "#post" do
|
||||
it "creates a notification with a mention" do
|
||||
expect {
|
||||
alice.post(:status_message, :text => "@{Bob Grimn; #{bob.person.diaspora_handle}} you are silly", :to => alice.aspects.find_by_name('generic'))
|
||||
}.to change(Notification, :count).by(1)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -123,8 +123,6 @@ describe PostService do
|
|||
end
|
||||
|
||||
it "marks a corresponding mention notification as read" do
|
||||
skip("TODO: create local notifications") # TODO
|
||||
|
||||
status_text = "this is a text mentioning @{Mention User ; #{alice.diaspora_handle}} ... have fun testing!"
|
||||
mention_post = bob.post(:status_message, text: status_text, public: true)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue