Skip to content

Commit

Permalink
Remove now useless fix
Browse files Browse the repository at this point in the history
Now that the banner isn't displayed if enterprise are not required to
sign ToS, the fix is useless
  • Loading branch information
rioug committed Nov 20, 2023
1 parent 05160ea commit 775189f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spec/system/admin/enterprises/terms_and_conditions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ def go_to_business_details
Timecop.freeze(run_time = time) do
click_button "Update"
expect(distributor.reload.terms_and_conditions_blob.created_at).to eq run_time
# Timecop interfere with our fake TermsOfServiceFile (see spec/system_helper.rb),
# so we accept the terms of service so that the banner doesn't hide the update button
click_button "Accept Terms of Service"
end
expect(page).
to have_content "Enterprise \"#{distributor.name}\" has been successfully updated!"
Expand Down

0 comments on commit 775189f

Please sign in to comment.