Skip to content

Commit

Permalink
Fix system spec
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-truong-main committed Feb 3, 2024
1 parent 4e9b866 commit eb5a841
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/system/organization_system_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

describe "Viewing the organization" do
it "can view organization details", :aggregate_failures do
@organization.update!(one_step_partner_invite: true)

visit organization_path(@organization)

expect(page.find("h1")).to have_text(@organization.name)
Expand All @@ -44,7 +46,7 @@
expect(page).to have_content("Quantity Based Requests?")
expect(page).to have_content("Show Year-to-date values on distribution printout?")
expect(page).to have_content("Logo")
expect(page).to have_content("Use One Step Invite and Approve partner process?")
expect(page).to have_content("Use One step Partner invite and approve process?")
end
end

Expand Down

0 comments on commit eb5a841

Please sign in to comment.