Upstream sync
This commit is contained in:
@@ -152,14 +152,6 @@ RSpec.describe AppearanceReleasesController, tye: :controller do
|
||||
}.to have_enqueued_job(SetTagsForReleasableJob).with(AppearanceRelease.last)
|
||||
end
|
||||
|
||||
it "logs analytics" do
|
||||
expect {
|
||||
post :create, params: { project_id: project, appearance_release: appearance_release_params }
|
||||
}.to(
|
||||
have_enqueued_job(TrackAnalyticsJob).with(user, account, :track_create_non_native_release, release_type: "AppearanceRelease", 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(AppearanceRelease).to receive(:save).and_return(false)
|
||||
|
||||
Reference in New Issue
Block a user