Sha256: a8218ea9e64af700b636e729ec211bd6336328477bbe7895999126e86d3f09d3

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

require 'spec_helper'

module Plutus
  describe Amount do

    describe "attributes" do
      it { is_expected.to delegate_method(:name).to(:account).with_prefix }
    end

    subject { FactoryGirl.build(:amount) }
    it { is_expected.not_to be_valid }  # construct a child class instead
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plutus-0.17 spec/models/amount_spec.rb
plutus-0.16 spec/models/amount_spec.rb
plutus-0.15 spec/models/amount_spec.rb
plutus-0.14 spec/models/amount_spec.rb