Sha256: ddfb2099710dc8e63f5d4cbce3e17d82aaa5386fdf1097b410308e8964c17e7f
Contents?: true
Size: 301 Bytes
Versions: 3
Compression:
Stored size: 301 Bytes
Contents
require 'spec_helper' module Borutus 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
borutus-0.2.1 | spec/models/amount_spec.rb |
borutus-0.2.0 | spec/models/amount_spec.rb |
borutus-0.1.0 | spec/models/amount_spec.rb |