Sha256: 67a5f9e672ad76555035c9871aad9ea5cb57f7d5f45764cd6cd155411ebf5655

Contents?: true

Size: 219 Bytes

Versions: 2

Compression:

Stored size: 219 Bytes

Contents

require 'spec_helper'

module Plutus
  describe Amount do

    it "should not allow creating an amount without a subtype" do
      amount = FactoryGirl.build(:amount)
      amount.should_not be_valid
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plutus-0.7.2 spec/models/amount_spec.rb
plutus-0.7.0 spec/models/amount_spec.rb