Sha256: 16b35646528d16751aa1593b6bc99cfd6026ac753173c96cd7f3ae5a2113c42f
Contents?: true
Size: 486 Bytes
Versions: 4
Compression:
Stored size: 486 Bytes
Contents
require 'spec_helper' describe Mushikago::Tombo::Request do before :all do @request = Mushikago::Tombo::Request.new end subject{ @request } it{ subject.host.should == Mushikago.config.tombo_endpoint } context 'construct with options' do before :all do @request = Mushikago::Tombo::Request.new(:endpoint => 'localhost:18080') end subject{ @request } it{ subject.host.should == 'localhost' } it{ subject.port.to_i.should == 18080 } end end
Version data entries
4 entries across 4 versions & 1 rubygems