Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgriffiniii committed May 15, 2024
1 parent 3efc22f commit a9744dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/work_approve_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
expect(page).to have_content(work.doi)
click_on "Approve Dataset"
page.driver.browser.switch_to.alert.accept
expect(page).to have_content("Uploads must be present for a work to be approved")
expect(page).to have_content("You must include at least one file. Please upload one.")
end

it "does not display warning if user cancels approval", js: true do
Expand All @@ -30,7 +30,7 @@
expect(page).to have_content(work.doi)
click_on "Approve Dataset"
page.driver.browser.switch_to.alert.dismiss
expect(page).to_not have_content("Uploads must be present for a work to be approved")
expect(page).to have_content("You must include at least one file. Please upload one.")
end
end
end

0 comments on commit a9744dd

Please sign in to comment.