Skip to content

Commit c831f4f

Browse files
authored
Prefer Fastlane::Actions::SharedValues::FIREBASE_APP_DISTRO_RELEASE in tests (#301)
1 parent f0db15a commit c831f4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/firebase_app_distribution_action_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def stub_get_aab_info(params)
317317
})
318318

319319
expect_any_instance_of(Fastlane::Client::FirebaseAppDistributionApiClient).to_not(receive(:update_release_notes))
320-
expect(Fastlane::Actions.lane_context[:FIREBASE_APP_DISTRO_RELEASE]).to eq(release)
320+
expect(Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::FIREBASE_APP_DISTRO_RELEASE]).to eq(release)
321321
end
322322

323323
it 'updates FIREBASE_APP_DISTRO_RELEASE with release returned from update release notes call' do
@@ -344,7 +344,7 @@ def stub_get_aab_info(params)
344344
release_notes: 'updated'
345345
})
346346

347-
expect(Fastlane::Actions.lane_context[:FIREBASE_APP_DISTRO_RELEASE]).to eq(updated_release)
347+
expect(Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::FIREBASE_APP_DISTRO_RELEASE]).to eq(updated_release)
348348
end
349349
end
350350
end

0 commit comments

Comments
 (0)