diff options
| author | mo <mo.khan@gmail.com> | 2017-09-24 13:53:09 -0600 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2017-09-24 13:53:09 -0600 |
| commit | 4887ba54da7ff8a25347b58c4a426cb5cf1dee3b (patch) | |
| tree | 5327f65dafd3f8a4881053d5da0d601f4c2e918a /spec/support | |
| parent | dc702a89811e866eec20cc43763096dddf4a41fe (diff) | |
render categories as backbone collection in html page.
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/authentication.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/authentication.rb b/spec/support/authentication.rb index 1145db3c..47a601ce 100644 --- a/spec/support/authentication.rb +++ b/spec/support/authentication.rb @@ -3,7 +3,7 @@ module Authentication new_session = UserSession.new allow(controller).to receive(:user_session).and_return(new_session) allow(controller).to receive(:current_user).and_return(user) - allow(controller).to receive(:user_signed_in?).and_return(true) + allow(controller).to receive(:current_user?).and_return(true) end def api_login(user) |
