Merge pull request #3462 from luisramos0/delete-api-order-ctrl

Delete empty controller class eval and spec
This commit is contained in:
Maikel
2019-02-19 11:14:29 +11:00
committed by GitHub
2 changed files with 0 additions and 15 deletions

View File

@@ -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

View File

@@ -1,8 +0,0 @@
require 'spec_helper'
require 'spree/api/testing_support/helpers'
module Spree
describe Spree::Api::OrdersController, type: :controller do
end
end