fixing controller test
This commit is contained in:
parent
71da954a76
commit
4037ae9f33
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ describe StatusMessagesController do
|
|||
|
||||
before do
|
||||
friend_users(user, aspect, user2, aspect2)
|
||||
request.env["HTTP_REFERER"] = ""
|
||||
sign_in :user, user
|
||||
@controller.stub!(:current_user).and_return(user)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue