Delete empty controller class eval and spec. Useless left overs from 0ad2978926

This commit is contained in:
luisramos0
2019-02-08 09:29:58 +00:00
parent 93aabf6741
commit 3dc75c88d2
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