diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-05-23 15:59:33 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-05-24 22:29:59 +0200 |
commit | 6efe9c2f14a5d9d324931ae9e86f9d4e3356f256 (patch) | |
tree | 817b6c4b514c91a8ba1a54052cc4a0d2c1476a69 /spec/features/dashboard | |
parent | c1b5c8069e18f76313925d7a7a267cb203d51f9d (diff) | |
download | gitlab-ce-6efe9c2f14a5d9d324931ae9e86f9d4e3356f256.tar.gz |
atom links with rss token instead of private token
Diffstat (limited to 'spec/features/dashboard')
-rw-r--r-- | spec/features/dashboard/activity_spec.rb | 6 | ||||
-rw-r--r-- | spec/features/dashboard/issues_spec.rb | 4 | ||||
-rw-r--r-- | spec/features/dashboard/projects_spec.rb | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/spec/features/dashboard/activity_spec.rb b/spec/features/dashboard/activity_spec.rb index c977f266296..6411ab1bf2a 100644 --- a/spec/features/dashboard/activity_spec.rb +++ b/spec/features/dashboard/activity_spec.rb @@ -5,7 +5,7 @@ RSpec.describe 'Dashboard Activity', feature: true do login_as(create :user) visit activity_dashboard_path end - - it_behaves_like "it has an RSS button with current_user's private token" - it_behaves_like "an autodiscoverable RSS feed with current_user's private token" + + it_behaves_like "it has an RSS button with current_user's rss token" + it_behaves_like "an autodiscoverable RSS feed with current_user's rss token" end diff --git a/spec/features/dashboard/issues_spec.rb b/spec/features/dashboard/issues_spec.rb index 7a132dba1e9..30a2180a9e8 100644 --- a/spec/features/dashboard/issues_spec.rb +++ b/spec/features/dashboard/issues_spec.rb @@ -62,6 +62,6 @@ RSpec.describe 'Dashboard Issues', feature: true do expect(page).to have_content(other_issue.title) end - it_behaves_like "it has an RSS button with current_user's private token" - it_behaves_like "an autodiscoverable RSS feed with current_user's private token" + it_behaves_like "it has an RSS button with current_user's rss token" + it_behaves_like "an autodiscoverable RSS feed with current_user's rss token" end diff --git a/spec/features/dashboard/projects_spec.rb b/spec/features/dashboard/projects_spec.rb index f1789fc9d43..fb8e3ac0a04 100644 --- a/spec/features/dashboard/projects_spec.rb +++ b/spec/features/dashboard/projects_spec.rb @@ -31,5 +31,5 @@ RSpec.describe 'Dashboard Projects', feature: true do end end - it_behaves_like "an autodiscoverable RSS feed with current_user's private token" + it_behaves_like "an autodiscoverable RSS feed with current_user's rss token" end |