create(:message, :recipient => user)
sign_in_as(user)
- visit inbox_messages_path
+ visit messages_inbox_path
assert_text "You have 1 new message and 0 old messages"
click_on "Delete"
create(:message, :sender => user)
sign_in_as(user)
- visit outbox_messages_path
+ visit messages_outbox_path
assert_text "You have 1 sent message"
click_on "Delete"
create(:message, :sender => muted_user, :recipient => user)
sign_in_as(user)
- visit muted_messages_path
+ visit messages_muted_inbox_path
assert_text "1 muted message"
click_on "Delete"