Skip to content

Commit

Permalink
Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ceithir committed Nov 16, 2023
1 parent 091b0f1 commit f88ed83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion features/step_definitions/work_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
6 changes: 3 additions & 3 deletions features/works/work_browse.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit f88ed83

Please sign in to comment.