summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-05-23 22:20:53 +0200
committerAlexis Reigel <mail@koffeinfrei.org>2017-05-24 22:29:59 +0200
commitdfc2542f55953815f703d743635d6faf2523d1a1 (patch)
tree5b6bb96da01b6904acfed61759c5f8089ea6e9bb /spec/support
parente209724fe77532ea79ef498d3c9d7a9a9d0fdf0b (diff)
downloadgitlab-ce-dfc2542f55953815f703d743635d6faf2523d1a1.tar.gz
use full caps RSS instead of rss
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/features/rss_shared_examples.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/support/features/rss_shared_examples.rb b/spec/support/features/rss_shared_examples.rb
index e33dd575072..1cbb4134995 100644
--- a/spec/support/features/rss_shared_examples.rb
+++ b/spec/support/features/rss_shared_examples.rb
@@ -1,23 +1,23 @@
-shared_examples "an autodiscoverable RSS feed with current_user's rss token" do
- it "has an RSS autodiscovery link tag with current_user's rss token" do
+shared_examples "an autodiscoverable RSS feed with current_user's RSS token" do
+ it "has an RSS autodiscovery link tag with current_user's RSS token" do
expect(page).to have_css("link[type*='atom+xml'][href*='rss_token=#{Thread.current[:current_user].rss_token}']", visible: false)
end
end
-shared_examples "it has an RSS button with current_user's rss token" do
- it "shows the RSS button with current_user's rss token" do
+shared_examples "it has an RSS button with current_user's RSS token" do
+ it "shows the RSS button with current_user's RSS token" do
expect(page).to have_css("a:has(.fa-rss)[href*='rss_token=#{Thread.current[:current_user].rss_token}']")
end
end
-shared_examples "an autodiscoverable RSS feed without an rss token" do
- it "has an RSS autodiscovery link tag without an rss token" do
+shared_examples "an autodiscoverable RSS feed without an RSS token" do
+ it "has an RSS autodiscovery link tag without an RSS token" do
expect(page).to have_css("link[type*='atom+xml']:not([href*='rss_token'])", visible: false)
end
end
-shared_examples "it has an RSS button without an rss token" do
- it "shows the RSS button without an rss token" do
+shared_examples "it has an RSS button without an RSS token" do
+ it "shows the RSS button without an RSS token" do
expect(page).to have_css("a:has(.fa-rss):not([href*='rss_token'])")
end
end