We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aedb879 commit b2a867dCopy full SHA for b2a867d
spec/rails/integration/forms_spec.rb
@@ -23,7 +23,7 @@
23
end
24
25
it "should include the hidden authenticity token" do
26
- expect(html).to include '<input type="hidden" name="authenticity_token" value="AUTH_TOKEN" />'
+ expect(html).to have_selector('input[type="hidden"][name="authenticity_token"][value="AUTH_TOKEN"]', visible: :hidden)
27
28
29
it "should create a label" do
0 commit comments