mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #3462 from luisramos0/delete-api-order-ctrl
Delete empty controller class eval and spec
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
Spree::Api::OrdersController.class_eval do
|
||||
|
||||
# We need to add expections for collection actions other than :index here
|
||||
# because Spree's API controller causes authorize_read! to be called, which
|
||||
# results in an ActiveRecord::NotFound Exception as the order object is not
|
||||
# defined for collection actions
|
||||
end
|
||||
@@ -1,8 +0,0 @@
|
||||
require 'spec_helper'
|
||||
require 'spree/api/testing_support/helpers'
|
||||
|
||||
module Spree
|
||||
describe Spree::Api::OrdersController, type: :controller do
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user