spec/jstd-runner/cli_spec.rb in jstd-runner-0.0.2 vs spec/jstd-runner/cli_spec.rb in jstd-runner-0.0.3
- old
+ new
@@ -41,7 +41,12 @@
it "delegates to the runner when run" do
runner.should_receive(:run)
cli.run
end
+
+ it "configures restarts" do
+ cli "--restart 01:15"
+ runner.options[:restart_at].should == "01:15"
+ end
end
end
\ No newline at end of file