diff options
| author | Xinhui | 2016-12-28 12:14:19 +0100 |
|---|---|---|
| committer | Xinhui | 2016-12-28 13:00:47 +0100 |
| commit | 15e221c2fe06ebd6ca18d7a392ab05f95b59be74 (patch) | |
| tree | 130db86de564b4aff40b9df8ee61119dd54263ef /spec/controllers | |
| parent | b6129f04b5f9b5a4c325c43d1a13b0e9b7d48647 (diff) | |
| download | chouette-core-15e221c2fe06ebd6ca18d7a392ab05f95b59be74.tar.bz2 | |
Model ImportMessage ImportResource
Refs #2261
Diffstat (limited to 'spec/controllers')
| -rw-r--r-- | spec/controllers/imports_controller_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/controllers/imports_controller_spec.rb b/spec/controllers/imports_controller_spec.rb index f5ccd643a..19756b72f 100644 --- a/spec/controllers/imports_controller_spec.rb +++ b/spec/controllers/imports_controller_spec.rb @@ -3,9 +3,11 @@ require 'rails_helper' RSpec.describe ImportsController, :type => :controller do login_user + let(:workbench) { create :workbench } + describe 'GET #new' do it 'should be successful' do - get :new, referential_id: referential.id + get :new, workbench_id: workbench.id expect(response).to be_success end end |
