mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove spree checkout controller spec, it is no longer necessary
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
require 'spec_helper'
|
||||
require 'support/request/authentication_workflow'
|
||||
|
||||
describe Spree::CheckoutController, type: :controller do
|
||||
context 'rendering edit from within spree for the current checkout state' do
|
||||
let(:order) { controller.current_order(true) }
|
||||
let(:user) { create(:user) }
|
||||
|
||||
before do
|
||||
create(:line_item, order: order)
|
||||
|
||||
allow(controller).to receive(:spree_current_user) { user }
|
||||
end
|
||||
|
||||
it "redirects to the OFN checkout page" do
|
||||
expect(spree_get(:edit)).to redirect_to checkout_path
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user