diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-10-06 17:21:38 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-10-19 17:33:48 +0300 |
commit | 0def36777e3f9e5f57fd0e1ebd023b43229622fc (patch) | |
tree | 07cf771689c60545564f3b13a5f1b7874e094260 /spec/features | |
parent | 284100a8e3308eab37a1a8890afc3b96020f97ec (diff) |
Change single-item breadcrumbs to page titles
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/dashboard/shortcuts_spec.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/features/dashboard/shortcuts_spec.rb b/spec/features/dashboard/shortcuts_spec.rb index e5c5ab9c039..31a1dcf826d 100644 --- a/spec/features/dashboard/shortcuts_spec.rb +++ b/spec/features/dashboard/shortcuts_spec.rb @@ -2,8 +2,12 @@ require 'spec_helper' describe 'Dashboard shortcuts', :js do context 'logged in' do + let(:user) { create(:user) } + let(:project) { create(:project) } + before do - sign_in(create(:user)) + project.add_developer(user) + sign_in(user) visit root_dashboard_path end @@ -50,6 +54,6 @@ describe 'Dashboard shortcuts', :js do end def check_page_title(title) - expect(find('.breadcrumbs-sub-title')).to have_content(title) + expect(find('.page-title')).to have_content(title) end end |