Sha256: 8a4acb37975c65f3fd53383f1a0c861a7f2f239553eba0defd567a35e3867f94
Contents?: true
Size: 727 Bytes
Versions: 1
Compression:
Stored size: 727 Bytes
Contents
require 'spec_helper' describe Mavenlink::Expense, stub_requests: true do it_should_behave_like 'model', 'expenses' describe 'validations' do it { should validate_presence_of :workspace_id } it { should validate_presence_of :date } it { should validate_presence_of :category } it { should validate_presence_of :amount_in_cents } end describe 'associations' do it { should respond_to :expense_category } it { should respond_to :workspace } it { should respond_to :user } it { should respond_to :receipt } it { should respond_to :external_references } it { should respond_to :active_submission } it { should respond_to :role } it { should respond_to :vendor } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mavenlink-0.0.1 | spec/lib/mavenlink/expense_spec.rb |