spec/server_spec.rb in heel-1.0.3 vs spec/server_spec.rb in heel-2.0.0
- old
+ new
@@ -61,11 +61,17 @@
server.merge_options
server.options.address.should == "192.168.1.1"
server.options.port.should == 4242
end
- it "should allow the highlighting option to be unset" do
- server = Heel::Server.new(%w[--no-highlighting])
+ it "should allow the highlighting option to be set" do
+ server = Heel::Server.new(%w[--highlighting])
+ server.merge_options
+ server.options.highlighting.should == true
+ end
+
+ it "should have highlighting off as a default" do
+ server = Heel::Server.new
server.merge_options
server.options.highlighting.should == false
end
it "should set no-launch-browser option and kill option" do