We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df7371 commit b2a6ba6Copy full SHA for b2a6ba6
spec/features/emojicom_rendering_spec.rb
@@ -0,0 +1,27 @@
1
+require "rails_helper"
2
+
3
+RSpec.feature "Emojicom rendering" do
4
+ context "home page" do
5
+ scenario "does not display emojicom widget" do
6
+ visit "/docs"
7
8
+ expect(page).not_to have_css "#emojicom-widget-inline"
9
+ end
10
11
12
+ context "landing page" do
13
14
+ visit "/docs/test-analytics"
15
16
17
18
19
20
+ context "standard docs page" do
21
+ scenario "displays emojicom widget" do
22
+ visit "/docs/tutorials/getting-started"
23
24
+ expect(page).to have_css "#emojicom-widget-inline"
25
26
27
+end
0 commit comments