Sha256: 7e5a363cb18bd1ab0ebcb47f0fe2dd6e855b00ffc77465284f8f264d5f9eb0ca
Contents?: true
Size: 434 Bytes
Versions: 15
Compression:
Stored size: 434 Bytes
Contents
require 'spec_helper' describe Consul::Util do describe '.adjective_and_argument' do it 'should return [nil, argument] if given a single argument' do Consul::Util.adjective_and_argument(Deal).should == [nil, Deal] end it 'should return [adjective, argument] if given an adjective and an argument' do Consul::Util.adjective_and_argument('updatable', Deal).should == ['updatable', Deal] end end end
Version data entries
15 entries across 15 versions & 1 rubygems