Base Budget class, #1137
This commit is contained in:
8
app/models/budget.rb
Normal file
8
app/models/budget.rb
Normal 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
|
||||
7
spec/models/budget_spec.rb
Normal file
7
spec/models/budget_spec.rb
Normal 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
|
||||
Reference in New Issue
Block a user