Sha256: 6b15442a3cd06b49982f03eeb8418a8a2e474dc7cc632547851b95dac4d99f0a
Contents?: true
Size: 492 Bytes
Versions: 11
Compression:
Stored size: 492 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper.rb' class TestButterflyServer < Test::Unit::TestCase context "server" do before do @server = Butterfly::Server.new({:host => "10.0.0.0", :port => 10000}) end it "should set the host and port properly when passed in as a hash" do @server.host.should == "10.0.0.0" @server.port.should == 10000 end it "should respond to call (for rack)" do @server.respond_to?(:call).should == true end end end
Version data entries
11 entries across 11 versions & 3 rubygems