Sha256: d4eb877a0131155d079f008237fbdcd7d6f34e41275e55c79e125c3ae2406f5c
Contents?: true
Size: 376 Bytes
Versions: 1
Compression:
Stored size: 376 Bytes
Contents
require 'spec_helper' require 'support/active_record' describe Worker do include Support::ActiveRecord let (:worker) { Worker.create!(:name => 'worker-1', :host => 'ruby-1.worker.travis-ci.org') } describe 'full_name' do it 'returns a name consisting of host and name' do worker.full_name.should == 'ruby-1.worker.travis-ci.org:worker-1' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
travis-core-0.0.1 | spec/travis/model/worker_spec.rb |