summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2017-09-24 13:53:09 -0600
committermo <mo.khan@gmail.com>2017-09-24 13:53:09 -0600
commit4887ba54da7ff8a25347b58c4a426cb5cf1dee3b (patch)
tree5327f65dafd3f8a4881053d5da0d601f4c2e918a /spec
parentdc702a89811e866eec20cc43763096dddf4a41fe (diff)
render categories as backbone collection in html page.
Diffstat (limited to 'spec')
-rw-r--r--spec/support/authentication.rb2
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)