mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
Run invoice spec as feature spec
This commit is contained in:
@@ -5,7 +5,7 @@ require "system_helper"
|
||||
describe '
|
||||
As an administrator
|
||||
I want to print a invoice as PDF
|
||||
', js: false do
|
||||
', type: :feature, js: false do
|
||||
include WebHelper
|
||||
include AuthenticationHelper
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ Capybara.register_driver(:cuprite) do |app|
|
||||
end
|
||||
|
||||
# Configure Capybara to use :cuprite driver by default
|
||||
Capybara.default_driver = Capybara.javascript_driver = :cuprite
|
||||
Capybara.javascript_driver = :cuprite
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.include CupriteHelpers, type: :system
|
||||
|
||||
Reference in New Issue
Block a user