Move feature spec for bulk coop report to the order management engine.

This commit is contained in:
Cillian O'Ruanaidh
2020-06-13 15:52:42 +01:00
parent ba126d5afc
commit fdf0d92366
2 changed files with 17 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
require "spec_helper"
feature "bulk coop" do
include AuthenticationWorkflow
include WebHelper
scenario "bulk co-op report" do
quick_login_as_admin
visit spree.admin_reports_path
click_link 'Bulk Co-Op'
click_button 'Generate Report'
expect(page).to have_content 'Supplier'
end
end

View File

@@ -155,15 +155,6 @@ feature '
expect(page).to have_content 'Order date'
end
scenario "bulk co-op report" do
quick_login_as_admin
visit spree.admin_reports_path
click_link 'Bulk Co-Op'
click_button 'Search'
expect(page).to have_content 'Supplier'
end
scenario "payments reports" do
quick_login_as_admin
visit spree.admin_reports_path