about summary refs log tree commit diff
path: root/spec/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-06 17:52:23 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-06 17:52:23 +0100
commit3824c588533f481011d2be19ff9476c001ffbee9 (patch)
tree96203d48ec3d8f54d69591d6b8616c9b4ac7a03b /spec/controllers
parent831a187d74791a34270ecdc94df62bcc86dedd03 (diff)
Adding GNU Public license, adding home timeline, reblog/favourite counters
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/home_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/home_controller_spec.rb b/spec/controllers/home_controller_spec.rb
index 7eaa43df7..cf85c5f79 100644
--- a/spec/controllers/home_controller_spec.rb
+++ b/spec/controllers/home_controller_spec.rb
@@ -4,7 +4,7 @@ RSpec.describe HomeController, type: :controller do
   describe 'GET #index' do
     it 'returns 200' do
       get :index
-      expect(response).to have_http_status(:success)
+      expect(response).to redirect_to(new_user_session_path)
     end
   end
 end