spec/jstd-runner/cli_spec.rb in jstd-runner-0.0.8 vs spec/jstd-runner/cli_spec.rb in jstd-runner-0.0.9
- old
+ new
@@ -46,7 +46,14 @@
it "configures restarts" do
cli "--restart 01:15"
runner.options[:restart_at].should == "01:15"
end
+
+ it "configures whitelists" do
+ cli "--whitelist 127.0.0.1,192.168.41.41"
+ runner.options[:whitelist].should == ["127.0.0.1", "192.168.41.41"]
+ end
+
+
end
end
\ No newline at end of file