Fixing typo in SO spec description

This commit is contained in:
Rob Harrington
2016-12-01 18:48:25 +11:00
parent 9160a3ff6b
commit 50b84c4ced

View File

@@ -16,7 +16,7 @@ describe Admin::StandingOrdersController, type: :controller do
let(:params) { { format: :html } }
context 'as a regular user' do
it 'renders the index page' do
it 'redirects to unauthorized' do
spree_get :index, params
expect(response).to redirect_to spree.unauthorized_path
end
@@ -38,7 +38,7 @@ describe Admin::StandingOrdersController, type: :controller do
let(:params) { { format: :json } }
context 'as a regular user' do
it 'renders the index page' do
it 'redirects to unauthorized' do
spree_get :index, params
expect(response).to redirect_to spree.unauthorized_path
end