aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/api/v1
diff options
context:
space:
mode:
authorZog2018-03-07 07:50:02 +0100
committerZog2018-03-12 12:00:13 +0100
commitb810deb08cadd56caeb76eb81cff363458bb79a3 (patch)
tree6fd0c1bc383a9fa501666f6d86cee2ec06c573cd /spec/controllers/api/v1
parent7b53b4c86d0469c21b54f4f974fbae5fc205ed0f (diff)
downloadchouette-core-b810deb08cadd56caeb76eb81cff363458bb79a3.tar.bz2
Refs #6133; Fix specs
Diffstat (limited to 'spec/controllers/api/v1')
-rw-r--r--spec/controllers/api/v1/imports_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/api/v1/imports_controller_spec.rb b/spec/controllers/api/v1/imports_controller_spec.rb
index 8077dd052..f7022115a 100644
--- a/spec/controllers/api/v1/imports_controller_spec.rb
+++ b/spec/controllers/api/v1/imports_controller_spec.rb
@@ -30,7 +30,7 @@ RSpec.describe Api::V1::ImportsController, type: :controller do
it 'should be successful' do
expect {
post :create, workbench_id: workbench.id, workbench_import: {name: "test", file: file, creator: 'test'}, format: :json
- }.to change{WorkbenchImport.count}.by(1)
+ }.to change{Import::Workbench.count}.by(1)
expect(response).to be_success
end
end