mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Fix spec markup
This commit is contained in:
parent
1b57040c37
commit
ff2a7aa9b6
1 changed files with 4 additions and 4 deletions
|
@ -107,8 +107,8 @@ describe MyModuleRepositoriesController, type: :controller do
|
|||
child_module = create :my_module, experiment: experiment
|
||||
Connection.create(output_id: parent_my_module.id, input_id: child_module.id)
|
||||
create :mm_repository_row, repository_row: repository_row,
|
||||
my_module: child_module,
|
||||
assigned_by: user
|
||||
my_module: child_module,
|
||||
assigned_by: user
|
||||
end
|
||||
put :update, params: params_downstream, format: :json
|
||||
expect(Activity.count).to eq 4
|
||||
|
@ -165,8 +165,8 @@ describe MyModuleRepositoriesController, type: :controller do
|
|||
child_module = create :my_module, experiment: experiment
|
||||
Connection.create(output_id: parent_my_module.id, input_id: child_module.id)
|
||||
create :mm_repository_row, repository_row: repository_row_2,
|
||||
my_module: child_module,
|
||||
assigned_by: user
|
||||
my_module: child_module,
|
||||
assigned_by: user
|
||||
end
|
||||
put :update, params: params_downstream, format: :json
|
||||
expect(Activity.count).to eq 8
|
||||
|
|
Loading…
Reference in a new issue