mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Delete empty controller class eval and spec. Useless left overs from 0ad2978926
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