Skip to content

Commit

Permalink
try dashboard_spec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Sep 6, 2024
1 parent 8f26ad5 commit 5b52357
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions spec/system/avo/dashboards_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,12 @@
end

describe "card options" do
let(:url) { "/admin/dashboards/dashy" }

subject {
visit url
page
}
it do
visit "/admin/dashboards/dashy"

it { is_expected.to have_text "Users count" }
it { is_expected.to have_text "Active users metric" }
expect(page).to have_text "Users count"
expect(page).to have_text "Active users metric"
end
end
end

Expand Down

0 comments on commit 5b52357

Please sign in to comment.