Skip to content

Commit

Permalink
Remove unnecessary test from Organization System Spec
Browse files Browse the repository at this point in the history
  • Loading branch information
torienyart committed Aug 22, 2023
1 parent 4b65761 commit d2a6b14
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions spec/system/organization_system_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,6 @@
expect(page).to_not have_content('Media Information')
expect(@organization.reload.partner_form_fields).to eq([])
end

it 'can change the allowed request types and send an error if it results in a partner not having request capability' do
partner = @organization.partners.first.profile
partner.update(enable_child_based_requests: false, enable_individual_requests: false)

choose('organization[enable_quantity_based_requests]', option: false)
click_on "Save"

expect(page).to have_content("Please update DEFAULT PARTNER, so that they could make requests if you completed this change, then try again. Thank you.")
end
end

it "can add a new user to an organization" do
Expand Down

0 comments on commit d2a6b14

Please sign in to comment.