diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-04-01 22:50:18 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-04-18 17:12:27 +0300 |
commit | 147879ae66fd742d13bbb5b72d492788bc48c8d9 (patch) | |
tree | 4800f696b0d1488209443e0ff5eb45046e43a2ce /spec/controllers/users_controller_spec.rb | |
parent | e8a77c0aee3eaf99793b3678a0eb97194244b339 (diff) |
Fix specs
Diffstat (limited to 'spec/controllers/users_controller_spec.rb')
-rw-r--r-- | spec/controllers/users_controller_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb index 26acfd3bd96..7701da9747a 100644 --- a/spec/controllers/users_controller_spec.rb +++ b/spec/controllers/users_controller_spec.rb @@ -30,10 +30,12 @@ describe UsersController do end describe 'when logged out' do + before { stub_application_setting(restricted_visibility_levels: []) } + it 'renders the show template' do get :show, username: user.username - expect(response).to be_success + expect(response.status).to eq(200) expect(response).to render_template('show') end end |