Skip to content

Commit

Permalink
Prefer Fastlane::Actions::SharedValues::FIREBASE_APP_DISTRO_RELEASE i…
Browse files Browse the repository at this point in the history
…n tests (#301)
  • Loading branch information
tagboola committed Feb 14, 2023
1 parent f0db15a commit c831f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/firebase_app_distribution_action_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def stub_get_aab_info(params)
})

expect_any_instance_of(Fastlane::Client::FirebaseAppDistributionApiClient).to_not(receive(:update_release_notes))
expect(Fastlane::Actions.lane_context[:FIREBASE_APP_DISTRO_RELEASE]).to eq(release)
expect(Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::FIREBASE_APP_DISTRO_RELEASE]).to eq(release)
end

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

expect(Fastlane::Actions.lane_context[:FIREBASE_APP_DISTRO_RELEASE]).to eq(updated_release)
expect(Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::FIREBASE_APP_DISTRO_RELEASE]).to eq(updated_release)
end
end
end
Expand Down

0 comments on commit c831f4f

Please sign in to comment.