spec/jcukeforker/worker_spec.rb in jcukeforker-0.2.9 vs spec/jcukeforker/worker_spec.rb in jcukeforker-0.2.10

- old
+ new

@@ -32,10 +32,10 @@ json_str = {'format' => formats, 'feature' => 'some/feature:51', 'extra_args' => [], 'out' => path}.to_json worker.send :set_state, json_str expected_args = formats.flat_map do |f| %W[--format #{f} --out #{path}/some_feature_51.#{f}] end - expect(worker.args.each_cons(expected_args.size).include?(expected_args)).to be true + worker.args.each_cons(expected_args.size).include?(expected_args).should be true end end end end