Skip to content

Commit eafc8d8

Browse files
committed
Add strapi query testing
1 parent dc27d7a commit eafc8d8

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
require "rails_helper"
2+
3+
RSpec.describe Cms::Providers::Strapi::Queries::Components::Blocks::TwoColumnVideoSection do
4+
it_should_behave_like "a strapi graphql component",
5+
%w[
6+
leftColumnContent
7+
rightColumnContent
8+
bkColor
9+
video
10+
leftColumnButton
11+
]
12+
end
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
require "rails_helper"
2+
3+
RSpec.describe Cms::Providers::Strapi::Queries::Components::ContentBlocks::EmbeddedVideo do
4+
it_should_behave_like "a strapi graphql component",
5+
%w[
6+
url
7+
]
8+
end

0 commit comments

Comments
 (0)