Skip to content

Commit

Permalink
Merge pull request #5204 from bgeuken/fix_spec
Browse files Browse the repository at this point in the history
[ci] Make feature test more flexible
  • Loading branch information
bgeuken committed Jun 25, 2018
2 parents bf94985 + 0bdee28 commit 1cab3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/spec/features/webui/packages_spec.rb
Expand Up @@ -152,7 +152,7 @@
request = BsRequest.where(description: 'Hey, why not?', creator: user.login, state: 'review')
expect(request).to exist
expect(page.current_path).to match("/request/show/#{request.first.number}")
expect(page).to have_text("Created by #{user.login}")
expect(page).to have_text(/Created by\s+#{user.login}/)
expect(page).to have_text('In state review')
expect(page).to have_text("Set the devel project to package #{third_project.name} / develpackage for package #{user.home_project} / develpackage")
end
Expand Down

0 comments on commit 1cab3fd

Please sign in to comment.