Sha256: 3d09d545a5b00a7b80cb86f0bd9fd95cf79b062a8c34722b21868d5133a5eb13
Contents?: true
Size: 348 Bytes
Versions: 18
Compression:
Stored size: 348 Bytes
Contents
module Spree module Admin RSpec.describe OrdersController, type: :controller do stub_authorization! context '#authorize_admin' do it 'grants access to users with an admin role' do get :new expect(response).to redirect_to spree.cart_admin_order_path(Order.last) end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems