Fix syntax error, spec for removed column

This commit is contained in:
Rohan Mitchell
2014-12-19 10:01:46 +11:00
parent e9f04c3c15
commit 72118f4e2e
2 changed files with 2 additions and 2 deletions

View File

@@ -638,7 +638,7 @@ Spree::Admin::ReportsController.class_eval do
:customers => {:name => "Customers", :description => 'Customer details'},
:products_and_inventory => {:name => "Products & Inventory", :description => ''},
:sales_total => { :name => "Sales Total", :description => "Sales Total For All Orders" },
:users_and_enterprises => { :name => "Users & Enterprises", :description => "Enterprise Ownership & Status" }
:users_and_enterprises => { :name => "Users & Enterprises", :description => "Enterprise Ownership & Status" },
:order_cycle_management => {:name => "Order Cycle Management", :description => ''}
}
# Return only reports the user is authorized to view.

View File

@@ -70,7 +70,7 @@ feature %q{
rows = find("table#listing_order_payment_methods").all("thead tr")
table = rows.map { |r| r.all("th").map { |c| c.text.strip } }
table.sort.should == [
["First Name", "Last Name", "Email", "Phone", "Hub", "Shipping Method", "Payment Method", "Amount", "Amount Paid"]
["First Name", "Last Name", "Email", "Phone", "Hub", "Shipping Method", "Payment Method", "Amount"]
].sort
end
end