Changeset [c8eb590b6853dff6198017ebb57aef3945de6954] by Andre Arko
November 19th, 2011 @ 02:06 PM
Merge pull request #66 from dnagir/webrat
This is pretty necessary for specs like:
` it { should have_selector form }
`
With this patch well see the spec as GET #new should have
selector "form"
.
Currently it is very freaking scary:
` GET #new should When you call a matcher in an example
without a String, like this: specify { object.should matcher } or
this: it { should matcher } RSpec expects the matcher to have a
#description method. You should either add a String to the example
this matcher is being used in, or give it a description method.
Then you wont have to suffer this lengthy warning again.
`
https://github.com/brynary/webrat/commit/c8eb590b6853dff6198017ebb5...
Committed by Andre Arko
- M lib/webrat/core/matchers/have_selector.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.