Sha256: 32b7bf2fa64324dd376fae77b773a1799bb357f7ded573ab824da8f2e6850995

Contents?: true

Size: 417 Bytes

Versions: 5

Compression:

Stored size: 417 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
      expect(object.to_s).to eq('That the Bill is to be read a second time. in house-of-commons')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pupa-0.2.4 spec/models/motion_spec.rb
pupa-0.2.3 spec/models/motion_spec.rb
pupa-0.2.2 spec/models/motion_spec.rb
pupa-0.2.1 spec/models/motion_spec.rb
pupa-0.2.0 spec/models/motion_spec.rb