10000 Fix calling capybara matcher mistake · rrrodrigo/activeadmin@654d0f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 654d0f4

Browse files
author
Anton Chumakov
committed
Fix calling capybara matcher mistake
1 parent cbac7fe commit 654d0f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/form_builder_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def user
545545
end
546546

547547
it "should add a custom header" do
548-
expect(body).to have_selector("h3", "Test heading")
548+
expect(body).to have_selector("h3", text: "Test heading")
549549
end
550550
end
551551

0 commit comments

Comments
 (0)
0