Sha256: a20de34165d1bb45f21695bd01bab3fa76222bd5bca7381f66bd3052fc0c643a
Contents?: true
Size: 299 Bytes
Versions: 1
Compression:
Stored size: 299 Bytes
Contents
require 'spec_helper' module Plutus describe Amount do subject { FactoryBot.build(:amount) } describe "attributes" do it { is_expected.to delegate_method(:name).to(:account).with_prefix } end it { is_expected.not_to be_valid } # construct a child class instead end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tyche-0.14 | spec/models/amount_spec.rb |