Skip to content

Commit

Permalink
[fix] spec failure
Browse files Browse the repository at this point in the history
  • Loading branch information
itowtips committed May 10, 2021
1 parent 3c1fe94 commit 3e3b81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/cms/node/generate_nodes_spec.rb
Expand Up @@ -38,7 +38,7 @@
end
task = Cms::Task.where(name: "cms:generate_nodes", site_id: site.id, node_id: node.id).first
expect(task.started).to be >= start_at if task.state != "stop"
expect(task.state).to satisfy { |v| %w(running stop).include?(v) }
expect(task.state).to satisfy { |v| %w(running completed).include?(v) }
end
end
end

0 comments on commit 3e3b81c

Please sign in to comment.