diff options
| author | Zog | 2018-04-04 12:10:32 +0200 |
|---|---|---|
| committer | Zog | 2018-04-04 12:10:44 +0200 |
| commit | 103fb7e051898e486d15a61d0b85356466b2c544 (patch) | |
| tree | 54ab5dcb5fc637682a72abc19afdfc4e24bf3c9c | |
| parent | 4f91846dec31a3adae698070f854e8f434f8af9b (diff) | |
| download | chouette-core-103fb7e051898e486d15a61d0b85356466b2c544.tar.bz2 | |
Fix ExportsController specs
We no longer return a redirect, but a JSON message instead
| -rw-r--r-- | spec/controllers/exports_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/exports_controller_spec.rb b/spec/controllers/exports_controller_spec.rb index 9d8dde4ff..e2b89fc26 100644 --- a/spec/controllers/exports_controller_spec.rb +++ b/spec/controllers/exports_controller_spec.rb @@ -85,7 +85,7 @@ RSpec.describe ExportsController, :type => :controller do context "with the token" do it 'should be successful' do post :upload, workbench_id: workbench.id, id: export.id, token: export.token_upload - expect(response).to be_redirect + expect(response).to be_success end end |
