Let's be friends again, Rubocop (#16294)

This commit is contained in:
Michael Kohl 2022-01-25 23:58:00 +07:00 committed by GitHub
parent a8813572c6
commit 31c805aa09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -6,7 +6,8 @@ RSpec.describe AbExperiment do
describe ".get" do
before do
allow(controller).to receive(:field_test).with(AbExperiment::CURRENT_FEED_STRATEGY_EXPERIMENT, participant: user).and_return("special")
allow(controller).to receive(:field_test).with(AbExperiment::CURRENT_FEED_STRATEGY_EXPERIMENT,
participant: user).and_return("special")
end
context "with :feed_strategy_round_3 experiment" do

View file

@ -194,9 +194,9 @@ RSpec.configure do |config|
user_views_article_four_hours_in_day
user_views_article_nine_days_in_two_week
user_views_article_twelve_hours_in_five_days] } },
"exclude" => { "bots" => true },
"cache" => true,
"cookies" => false }
"exclude" => { "bots" => true },
"cache" => true,
"cookies" => false }
begin
# Add the field tests that are currently configured (if any).