Base Budget class, #1137

This commit is contained in:
Eric Davis
2008-05-23 16:48:03 -07:00
parent f20b614f84
commit 5093377a5b
2 changed files with 15 additions and 0 deletions

8
app/models/budget.rb Normal file
View File

@@ -0,0 +1,8 @@
# Budget is a meta class that is used to calculate summary data
# for all the deliverables on a project. Think of it akin to:
# has_many :deliverables
# belongs_to :project
#
class Budget
end

View File

@@ -0,0 +1,7 @@
require File.dirname(__FILE__) + '/../spec_helper'
describe Budget do
it 'should not be an ActiveRecord class' do
Budget.should_not be_a_kind_of(ActiveRecord::Base)
end
end