mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Fix failing tests [SCI-3177]
This commit is contained in:
parent
f9832013b0
commit
96cf7b4de2
1 changed files with 4 additions and 7 deletions
|
@ -29,10 +29,12 @@ describe TeamImporter do
|
|||
PROJECT_ID = @project.id
|
||||
USER_ID = @user.id
|
||||
|
||||
@team_importer = TeamImporter.new
|
||||
@team_importer = TeamImporter.new
|
||||
@exp = @team_importer.import_experiment_template_from_dir(TEMPLATE_DIR,
|
||||
PROJECT_ID,
|
||||
USER_ID)
|
||||
Experiments::GenerateWorkflowImageService.call(experiment_id: @exp.id)
|
||||
@exp.reload
|
||||
end
|
||||
|
||||
describe 'Experiment variables' do
|
||||
|
@ -51,12 +53,7 @@ describe TeamImporter do
|
|||
it { expect(@exp.restored_by_id).to be_nil }
|
||||
it { expect(@exp.restored_on).to be_nil }
|
||||
|
||||
it do
|
||||
expect(@exp.workflowimg_updated_at).to eq(
|
||||
'2019-01-21T13:31:04.682Z'.to_time
|
||||
)
|
||||
end
|
||||
it { expect(@exp.workflowimg_file_size).to eq 4581 }
|
||||
it { expect(@exp.workflowimg.exists?).to eq(true) }
|
||||
end
|
||||
|
||||
describe 'Module groups' do
|
||||
|
|
Loading…
Reference in a new issue