From 1efe5694c712731992ecedad82030bcf44a35b57 Mon Sep 17 00:00:00 2001 From: Harrison Hassig Date: Thu, 18 Jul 2024 09:34:48 +0200 Subject: [PATCH] Rollback rspec versions and and change custom_styles_spec.rb to pass rspec --- Gemfile.lock | 13 +++---------- spec/system/decidim_awesome/custom_styles_spec.rb | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index b9690a0..ee85d3b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -759,23 +759,16 @@ GEM parser (>= 3.3.1.0) rubocop-capybara (2.21.0) rubocop (~> 1.41) - rubocop-factory_bot (2.26.0) - rubocop (~> 1.41) rubocop-faker (1.1.0) faker (>= 2.12.0) rubocop (>= 0.82.0) - rubocop-rails (2.25.1) + rubocop-rails (2.19.1) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) - rubocop-ast (>= 1.31.1, < 2.0) - rubocop-rspec (2.31.0) - rubocop (~> 1.40) + rubocop-rspec (2.20.0) + rubocop (~> 1.33) rubocop-capybara (~> 2.17) - rubocop-factory_bot (~> 2.22) - rubocop-rspec_rails (~> 2.28) - rubocop-rspec_rails (2.29.0) - rubocop (~> 1.40) ruby-progressbar (1.13.0) ruby-vips (2.2.2) ffi (~> 1.12) diff --git a/spec/system/decidim_awesome/custom_styles_spec.rb b/spec/system/decidim_awesome/custom_styles_spec.rb index 00a5f27..856c832 100644 --- a/spec/system/decidim_awesome/custom_styles_spec.rb +++ b/spec/system/decidim_awesome/custom_styles_spec.rb @@ -30,7 +30,7 @@ shared_examples "no extra css is added" do it "css is no present" do - expect(page.body).not_to have_content("body {background: red;}") + expect(page.body).to have_no_content("body {background: red;}") end it "css is not applyied" do