mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-07-02 07:51:09 -04:00
Added framework for Item and Employee Models
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
class QboEmployee < ActiveRecord::Base
|
||||||
|
unloadable
|
||||||
|
end
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
class QboItem < ActiveRecord::Base
|
||||||
|
unloadable
|
||||||
|
end
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
class CreateQboItems < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
create_table :qbo_items do |t|
|
||||||
|
t.string :name
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
class CreateQboEmployees < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
create_table :qbo_employees do |t|
|
||||||
|
t.string :name
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -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
|
||||||
@@ -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