Sha256: 86c8a8acf621cd775f1b80783b0ea6f8476294824e879b655373c6358268efc7
Contents?: true
Size: 490 Bytes
Versions: 6
Compression:
Stored size: 490 Bytes
Contents
# -*- coding: utf-8 -*- require 'spec_helper' describe Mushikago::Tombo::Request do before :all do @request = Mushikago::Tombo::Request.new end subject{ @request } its(:host){ should == Mushikago.config.endpoint } context 'construct with options' do before :all do @request = Mushikago::Tombo::Request.new(:endpoint => 'localhost:18080') end subject{ @request } its(:host){ should == 'localhost' } its('port.to_i'){ should == 18080 } end end
Version data entries
6 entries across 6 versions & 1 rubygems