Skip to content

Commit fd4597d

Browse files
committed
Adding in support for cqf and fixing standardrb
1 parent 9303a08 commit fd4597d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

app/webpacker/stylesheets/components/cms/_shared.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
$colors: (
1212
"standard": $lime-green,
1313
"i-belong": $orange,
14-
"isaac": $brand-yellow
14+
"isaac": $brand-yellow,
15+
"cqf": $pink
1516
);
1617

1718
$sides: ("left", "right", "top", "bottom");

spec/system/cms/resource_page_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
require "axe/rspec"
33

44
RSpec.describe("Resource Page", type: [:system]) do
5+
let(:slug) { "testing" }
6+
let(:blog) { Cms::Mocks::Blog.generate_raw_data(slug:, title: "Test blog") }
7+
58
before do
6-
stub_strapi_blog_post("testing", blog: Cms::Mocks::Blog.generate_raw_data(
7-
slug: "testing",
8-
title: "Test blog"
9-
))
10-
visit cms_post_path("testing")
9+
stub_strapi_blog_post(slug, blog:)
10+
visit cms_post_path(slug)
1111
end
1212

1313
it "is the correct page" do

0 commit comments

Comments
 (0)