diff --git a/features/step_definitions/work_steps.rb b/features/step_definitions/work_steps.rb index 8010cc11295..2937753f6ae 100644 --- a/features/step_definitions/work_steps.rb +++ b/features/step_definitions/work_steps.rb @@ -564,7 +564,7 @@ step "the periodic tag count task is run" end -When "I browse works in {string}" do |language_name| +When "I browse works in language {string}" do |language_name| step %{all indexing jobs have been run} step "the periodic tag count task is run" diff --git a/features/works/work_browse.feature b/features/works/work_browse.feature index 2e7d71d4f21..85bc9c82b17 100644 --- a/features/works/work_browse.feature +++ b/features/works/work_browse.feature @@ -165,9 +165,9 @@ Scenario: Can also browse work indexed by language When I press "Post" Then I should see "Work was successfully posted." And I should see "Deutsch" within "dd.language" - When I browse works in "English" + When I browse works in language "English" Then I should see "2 Works in English" - When I browse works in "Deutsch" + When I browse works in language "Deutsch" Then I should see "1 Work in Deutsch" - When I browse works in "Persian" + When I browse works in language "Persian" Then I should see "0 Works in Persian"