Skip to content

Commit

Permalink
Rollback rspec versions and and change custom_styles_spec.rb to pass …
Browse files Browse the repository at this point in the history
…rspec
  • Loading branch information
Harrison Hassig authored and Harrison Hassig committed Jul 18, 2024
1 parent e0da3c8 commit 1efe569
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
13 changes: 3 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion spec/system/decidim_awesome/custom_styles_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1efe569

Please sign in to comment.