diff options
author | ysksn <bluewhale1982@gmail.com> | 2017-11-17 10:52:30 +0900 |
---|---|---|
committer | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-11-17 10:52:30 +0900 |
commit | 9dd5e329ab5edab705c5622bc97f93bd5c50976b (patch) | |
tree | 4b84681131e58107ffeebac9412f7577f93fbaf1 /spec/controllers | |
parent | 3e90987c8b0c620b6fc104350b8eb16d17d7e80a (diff) |
Remove empty strings (#5732)
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/settings/applications_controller_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/controllers/settings/applications_controller_spec.rb b/spec/controllers/settings/applications_controller_spec.rb index ca66f8d23..90e6a63d5 100644 --- a/spec/controllers/settings/applications_controller_spec.rb +++ b/spec/controllers/settings/applications_controller_spec.rb @@ -2,10 +2,10 @@ require 'rails_helper' describe Settings::ApplicationsController do render_views - + let!(:user) { Fabricate(:user) } let!(:app) { Fabricate(:application, owner: user) } - + before do sign_in user, scope: :user end @@ -21,7 +21,7 @@ describe Settings::ApplicationsController do end end - + describe 'GET #show' do it 'returns http success' do get :show, params: { id: app.id } @@ -110,7 +110,7 @@ describe Settings::ApplicationsController do end end end - + describe 'PATCH #update' do context 'success' do let(:opts) { @@ -131,7 +131,7 @@ describe Settings::ApplicationsController do call_update expect(app.reload.website).to eql(opts[:website]) end - + it 'redirects back to applications page' do expect(call_update).to redirect_to(settings_applications_path) end |