mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
Fix tests
This commit is contained in:
parent
5cb497b61d
commit
97db1e0e1c
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ require 'rails_helper'
|
|||
|
||||
RSpec.describe 'Api::V1::TasksController', type: :request do
|
||||
before :all do
|
||||
MyModuleStatusFlow.ensure_default
|
||||
|
||||
@user = create(:user)
|
||||
@teams = create_list(:team, 2, created_by: @user)
|
||||
create(:user_team, user: @user, team: @teams.first, role: 2)
|
||||
|
|
Loading…
Reference in a new issue