Commit 7994902c authored by Kushal Pandya's avatar Kushal Pandya

Update test to reflect Geo secondary banner text

parent 46ee6920
...@@ -17,12 +17,12 @@ feature 'GEO Nodes' do ...@@ -17,12 +17,12 @@ feature 'GEO Nodes' do
describe "showing Flash Info Message" do describe "showing Flash Info Message" do
it 'on dashboard' do it 'on dashboard' do
visit root_dashboard_path visit root_dashboard_path
expect(page).to have_content 'You are on a secondary (read-only) Geo node.' expect(page).to have_content 'You are on a secondary, read-only Geo node. If you want to make changes, you must visit this page on the primary node.'
end end
it 'on project overview' do it 'on project overview' do
visit project_path(project) visit project_path(project)
expect(page).to have_content 'You are on a secondary (read-only) Geo node.' expect(page).to have_content 'You are on a secondary, read-only Geo node. If you want to make changes, you must visit this page on the primary node.'
end end
end end
end end
......
...@@ -16,6 +16,6 @@ describe 'Geo read-only message' do ...@@ -16,6 +16,6 @@ describe 'Geo read-only message' do
visit root_dashboard_path visit root_dashboard_path
expect(page).to have_content('You are on a secondary (read-only) Geo node') expect(page).to have_content('You are on a secondary, read-only Geo node. If you want to make changes, you must visit this page on the primary node.')
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment