Sha256: 080181fd144918d93e4e2c5903c70c56f60f64fd198c98dd1b0fcc0910bbb40e

Contents?: true

Size: 412 Bytes

Versions: 4

Compression:

Stored size: 412 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Pupa::Motion do
  let :object do
    Pupa::Motion.new(text: 'That the Bill is to be read a second time.', organization_id: 'house-of-commons')
  end

  describe '#to_s' do
    it 'should return a human-readable string' do
      object.to_s.should == 'That the Bill is to be read a second time. in house-of-commons'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pupa-0.1.11 spec/models/motion_spec.rb
pupa-0.1.10 spec/models/motion_spec.rb
pupa-0.1.9 spec/models/motion_spec.rb
pupa-0.1.8 spec/models/motion_spec.rb