Upstream sync
This commit is contained in:
@@ -90,14 +90,6 @@ RSpec.describe LocationReleasesController, type: :controller do
|
||||
}.to have_enqueued_job(SetTagsForReleasableJob).with(LocationRelease.last)
|
||||
end
|
||||
|
||||
it "logs analytics" do
|
||||
expect {
|
||||
post :create, params: { project_id: project, location_release: location_release_params }
|
||||
}.to(
|
||||
have_enqueued_job(TrackAnalyticsJob).with(user, account, :track_create_non_native_release, release_type: "LocationRelease", user_agent: "Rails Testing", user_ip: "0.0.0.0")
|
||||
)
|
||||
end
|
||||
|
||||
context "when the record would be invalid" do
|
||||
before do
|
||||
allow_any_instance_of(LocationRelease).to receive(:save).and_return(false)
|
||||
|
||||
Reference in New Issue
Block a user