Skip to content

Commit

Permalink
Merge pull request #217 from tvdeyen/fix-admin-users-spec
Browse files Browse the repository at this point in the history
test: Fix admin users feature spec
  • Loading branch information
tvdeyen authored Nov 22, 2024
2 parents 6feb916 + 6b3db36 commit ac65a52
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spec/features/admin/users_feature_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@
describe "users list" do
let!(:users) { create_list(:alchemy_user, 2) }

it "lists existing users" do
it "lists existing users", :aggregate_failures do
visit admin_users_path

expect(page).to have_selector "table#user_list"
within "table.list" do
users.each do |user|
expect(page).to have_text user.email
end
end
end

it "is searchable" do
Expand Down

0 comments on commit ac65a52

Please sign in to comment.