From 15f87ecb14e01b18e24198d532f8326baa2d1dbc Mon Sep 17 00:00:00 2001 From: JG Date: Mon, 23 May 2022 12:30:16 +0100 Subject: [PATCH] rubocop --- features/step_definitions/data_coordinator_steps.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/step_definitions/data_coordinator_steps.rb b/features/step_definitions/data_coordinator_steps.rb index 057e0a9f5..84155c744 100644 --- a/features/step_definitions/data_coordinator_steps.rb +++ b/features/step_definitions/data_coordinator_steps.rb @@ -17,16 +17,16 @@ Then("the user navigation bar is highlighted") do expect(page).to have_css('[aria-current="page"]', text: "Users") end -When('I visit the About your organisation page') do +When("I visit the About your organisation page") do click_link("About your organisation") end -Then('I see information about your organisation') do +Then("I see information about your organisation") do expect(page.body).to have_content @user.organisation.name expect(page.body).to have_content @user.organisation.address_line1 expect(page.body).to have_content @user.organisation.postcode end -Then('the about your organisation navigation bar is highlighted') do +Then("the about your organisation navigation bar is highlighted") do expect(page).to have_css('[aria-current="page"]', text: "About your organisation") end