diff --git a/spec/models/ab_experiment_spec.rb b/spec/models/ab_experiment_spec.rb index 1789ec980..1a0a4eee6 100644 --- a/spec/models/ab_experiment_spec.rb +++ b/spec/models/ab_experiment_spec.rb @@ -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 diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index afa3f8d2f..933690112 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -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).