Correct spec for campaign_gift_options

This commit is contained in:
Eric Schultz 2019-01-28 15:02:42 -06:00 committed by Luis Castro
parent 568835c9bf
commit 438ecf16c8
No known key found for this signature in database
GPG key ID: 0A8F33D4C4E27639

View file

@ -5,9 +5,9 @@ require 'controllers/support/shared_user_context'
describe Campaigns::CampaignGiftOptionsController, :type => :controller do
describe 'authorization' do
include_context :shared_user_context
describe 'reject unauthorized users' do
describe 'accept all' do
describe 'index' do
include_context :open_to_campaign_editor, :get, :index, nonprofit_id: :__our_np, campaign_id: :__our_campaign
include_context :open_to_all, :get, :index, nonprofit_id: :__our_np, campaign_id: :__our_campaign
end
end
end