spec/server/api/remove_spec.rb in cellect-server-1.2.0 vs spec/server/api/remove_spec.rb in cellect-server-1.3.0
- old
+ new
@@ -8,10 +8,10 @@
SET_TYPES.shuffle.each do |set_type|
context "#{ grouping_type } #{ set_type }" do
let(:workflow_type){ [grouping, set_type].compact.join '_' }
let(:workflow){ Workflow[workflow_type] }
let(:user){ workflow.user 123 }
- before(:each){ pass_until workflow, is: :ready }
+ before(:each){ pass_until_state_of workflow, is: :ready }
let(:opts) do
{ subject_id: 123 }.tap do |h|
h[:group_id] = 1 if workflow.grouped?
end