diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-13 07:02:02 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-13 13:02:02 +0200 |
commit | 0e39cc6a35661416a1f1ccb8841863f7bf307020 (patch) | |
tree | 7905b859d61ff98ca63a66eb86c50da4834e9c89 /spec/controllers | |
parent | faefd8ec8f164e174fd887f06d01c7fe8ed05531 (diff) |
Settings export refactor (#1646)
* Refactor Export to take an account and know about the export types * Use Export instance in settings/exports#show
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/settings/exports_controller_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/controllers/settings/exports_controller_spec.rb b/spec/controllers/settings/exports_controller_spec.rb index ff98f3ad9..2be6e4744 100644 --- a/spec/controllers/settings/exports_controller_spec.rb +++ b/spec/controllers/settings/exports_controller_spec.rb @@ -1,6 +1,8 @@ require 'rails_helper' describe Settings::ExportsController do + render_views + before do sign_in Fabricate(:user), scope: :user end @@ -8,6 +10,7 @@ describe Settings::ExportsController do describe 'GET #show' do it 'returns http success' do get :show + expect(response).to have_http_status(:success) end end |