mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Added framework for Item and Employee Models
This commit is contained in:
3
app/models/qbo_employee.rb
Normal file
3
app/models/qbo_employee.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
class QboEmployee < ActiveRecord::Base
|
||||
unloadable
|
||||
end
|
||||
3
app/models/qbo_item.rb
Normal file
3
app/models/qbo_item.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
class QboItem < ActiveRecord::Base
|
||||
unloadable
|
||||
end
|
||||
7
db/migrate/004_create_qbo_items.rb
Normal file
7
db/migrate/004_create_qbo_items.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class CreateQboItems < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :qbo_items do |t|
|
||||
t.string :name
|
||||
end
|
||||
end
|
||||
end
|
||||
7
db/migrate/005_create_qbo_employees.rb
Normal file
7
db/migrate/005_create_qbo_employees.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class CreateQboEmployees < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :qbo_employees do |t|
|
||||
t.string :name
|
||||
end
|
||||
end
|
||||
end
|
||||
9
test/unit/qbo_employee_test.rb
Normal file
9
test/unit/qbo_employee_test.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class QboEmployeeTest < ActiveSupport::TestCase
|
||||
|
||||
# Replace this with your real tests.
|
||||
def test_truth
|
||||
assert true
|
||||
end
|
||||
end
|
||||
9
test/unit/qbo_item_test.rb
Normal file
9
test/unit/qbo_item_test.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class QboItemTest < ActiveSupport::TestCase
|
||||
|
||||
# Replace this with your real tests.
|
||||
def test_truth
|
||||
assert true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user