Second part of admin-namespace-reorder. Also renamed OrderGroup into Ordergroup. More view-sharing between groups is neccessary.
This commit is contained in:
parent
2d5dc03b90
commit
fadc951208
83 changed files with 410 additions and 518 deletions
2
test/fixtures/articles.yml
vendored
2
test/fixtures/articles.yml
vendored
|
|
@ -1,5 +1,5 @@
|
|||
# == Schema Information
|
||||
# Schema version: 20090113111624
|
||||
# Schema version: 20090114101610
|
||||
#
|
||||
# Table name: articles
|
||||
#
|
||||
|
|
|
|||
14
test/fixtures/financial_transactions.yml
vendored
14
test/fixtures/financial_transactions.yml
vendored
|
|
@ -1,14 +1,14 @@
|
|||
# == Schema Information
|
||||
# Schema version: 20090102171850
|
||||
# Schema version: 20090114101610
|
||||
#
|
||||
# Table name: financial_transactions
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# order_group_id :integer(4) default(0), not null
|
||||
# amount :decimal(8, 2) default(0.0), not null
|
||||
# note :text default(""), not null
|
||||
# user_id :integer(4) default(0), not null
|
||||
# created_on :datetime not null
|
||||
# id :integer(4) not null, primary key
|
||||
# ordergroup_id :integer(4) default(0), not null
|
||||
# amount :decimal(8, 2) default(0.0), not null
|
||||
# note :text default(""), not null
|
||||
# user_id :integer(4) default(0), not null
|
||||
# created_on :datetime not null
|
||||
#
|
||||
|
||||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
|
|
|
|||
4
test/fixtures/groups.yml
vendored
4
test/fixtures/groups.yml
vendored
|
|
@ -27,11 +27,11 @@
|
|||
first:
|
||||
id: 1
|
||||
name: Order Group 1
|
||||
type: OrderGroup
|
||||
type: Ordergroup
|
||||
another:
|
||||
id: 2
|
||||
name: Order Group 2
|
||||
type: OrderGroup
|
||||
type: Ordergroup
|
||||
admins:
|
||||
id: 3
|
||||
name: Administrators
|
||||
|
|
|
|||
2
test/fixtures/suppliers.yml
vendored
2
test/fixtures/suppliers.yml
vendored
|
|
@ -1,5 +1,5 @@
|
|||
# == Schema Information
|
||||
# Schema version: 20090113111624
|
||||
# Schema version: 20090114101610
|
||||
#
|
||||
# Table name: suppliers
|
||||
#
|
||||
|
|
|
|||
8
test/functional/admin/ordergroups_controller_test.rb
Normal file
8
test/functional/admin/ordergroups_controller_test.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
require 'test_helper'
|
||||
|
||||
class Admin::OrdergroupsControllerTest < ActionController::TestCase
|
||||
# Replace this with your real tests.
|
||||
test "the truth" do
|
||||
assert true
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue