8000 feat: Duplicate experiment key issue with multi feature flag by ozayr-zaviar · Pull Request #282 · optimizely/ruby-sdk · GitHub
[go: up one dir, main page]

Skip to content

feat: Duplicate experiment key issue with multi feature flag #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jul 26, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint fixes
  • Loading branch information
ozayr-zaviar committed Jul 13, 2021
commit ba3a0092e6f943fe14d52141d7d6a10c338e75c8
4 changes: 2 additions & 2 deletions spec/config/datafile_project_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@
it 'should return nil when provided variation id is invalid' do
expect(config.get_variation_from_id_by_experiment_id('111127', 'invalid_variation')).to eq(nil)
expect(spy_logger).to have_received(:log).with(Logger::ERROR,
"Variation id 'invalid_variation' is not in datafile.")
"Variation id 'invalid_variation' is not in datafile.")
end

it 'should return variation having featureEnabled false when not provided in the datafile' do
Expand All @@ -877,7 +877,7 @@
it 'should return nil when provided variation key is invalid' do
expect(config.get_variation_from_key_by_experiment_id('111127', 'invalid_variation')).to eq(nil)
expect(spy_logger).to have_received(:log).with(Logger::ERROR,
"Variation key 'invalid_variation' is not in datafile.")
"Variation id 'invalid_variation' is not in datafile.")
end

it 'should return variation having featureEnabled false when not provided in the datafile' do
Expand Down
0