Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgriffiniii committed Jan 9, 2025
1 parent 39744ba commit 62408ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions spec/controllers/works_wizard_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
Group.create_defaults
user
stub_datacite(host: "api.datacite.org", body: datacite_register_body(prefix: "10.34770"))
# allow(ActiveStorage::PurgeJob).to receive(:new).and_call_original

stub_request(:get, /#{Regexp.escape('https://example-bucket.s3.amazonaws.com/us_covid_20')}.*\.csv/).to_return(status: 200, body: "", headers: {})
end
Expand Down Expand Up @@ -46,7 +45,6 @@
post(:update_wizard, params:)
expect(response.status).to be 302
expect(response.location).to eq "http://test.host/works/#{work.id}/update-additional"
# expect(ActiveStorage::PurgeJob).not_to have_received(:new)
end

context "save and stay on page" do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
Group.create_defaults
user
stub_datacite(host: "api.datacite.org", body: datacite_register_body(prefix: "10.34770"))
# allow(ActiveStorage::PurgeJob).to receive(:new).and_call_original

stub_request(:get, /#{Regexp.escape('https://example-bucket.s3.amazonaws.com/us_covid_20')}.*\.csv/).to_return(status: 200, body: "", headers: {})
end
Expand Down Expand Up @@ -45,7 +44,6 @@
patch(:update_additional_save, params:)
expect(response.status).to be 302
expect(response.location).to eq "http://test.host/works/#{work.id}/readme-select"
# expect(ActiveStorage::PurgeJob).not_to have_received(:new)
end

context "save and stay on page" do
Expand Down

0 comments on commit 62408ed

Please sign in to comment.