Sha256: 599adc952d76462ea1914bcdc59622083197eebc6e306dce7a8592a1a5a19177
Contents?: true
Size: 516 Bytes
Versions: 25
Compression:
Stored size: 516 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Pupa::Post do let :object do Pupa::Post.new(label: 'Chef', organization_id: 'abc-inc', end_date: '2010') end describe '#to_s' do it 'should return a human-readable string' do object.to_s.should == 'Chef in abc-inc' end end describe '#fingerprint' do it 'should return the fingerprint' do object.fingerprint.should == {label: 'Chef', organization_id: 'abc-inc', end_date: '2010'} end end end
Version data entries
25 entries across 25 versions & 1 rubygems