Skip to content

Commit ad5730a

Browse files
committed
Removed excessive example from notification controller specs
1 parent e35ebab commit ad5730a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

spec/controllers/notifications_controller_spec.rb

-12
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,6 @@ def valid_session
6060
assigns(:notification).should eq(notification)
6161
end
6262

63-
it "assigns the reply link for a PM" do
64-
notification = FactoryGirl.create(:notification, :recipient_id => subject.current_member.id, :post_id => nil)
65-
subject = "Re: " + notification.subject
66-
67-
get :show, {:id => notification.to_param}
68-
assigns(:reply_link).should_not be_nil
69-
assigns(:reply_link).should eq new_notification_url(
70-
:recipient_id => notification.sender_id,
71-
:subject => subject
72-
)
73-
end
74-
7563
it "assigns the reply link for a post comment" do
7664
notification = FactoryGirl.create(:notification, :recipient_id => subject.current_member.id)
7765

0 commit comments

Comments
 (0)