spec/lib/worker/docker_spec.rb in evrone-ci-worker-0.2.0.pre0 vs spec/lib/worker/docker_spec.rb in evrone-ci-worker-0.2.0.pre1
- old
+ new
@@ -14,15 +14,15 @@
context "perform", run_docker: true do
subject { local.perform }
it { should eq 0 }
context "when fail before_script" do
- let(:options) { { before_script: "/bin/false" } }
+ let(:options) { { before_script: "false" } }
it { should eq(-1) }
end
context "when fail script" do
- let(:options) { { script: "/bin/false" } }
+ let(:options) { { script: "false" } }
it { should eq(1) }
end
end
end