Skip to content

Commit

Permalink
Correct last bugs in various specs
Browse files Browse the repository at this point in the history
  • Loading branch information
wwahammy committed Apr 14, 2022
1 parent 287283c commit 0995c95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/controllers/cards_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
include_context :shared_user_context
describe 'accept all' do
describe 'create' do
include_context :open_to_all, :post, :create, nonprofit_id: :__our_np
include_context :open_to_all, :post, :create, nonprofit_id: :__our_np, with_status: 200
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/nonprofits/donations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
end
describe 'accept all users' do
describe 'create' do
include_context :open_to_all, :get, :create, nonprofit_id: :__our_np
include_context :open_to_all, :get, :create, nonprofit_id: :__our_np, with_status: 200
end

describe 'follow up' do
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/nonprofits/supporters_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

describe 'accept all users' do
describe 'create' do
include_context :open_to_all, :post, :create, nonprofit_id: :__our_np
include_context :open_to_all, :post, :create, nonprofit_id: :__our_np, with_status: 200
end
end
end

0 comments on commit 0995c95

Please sign in to comment.