A set of RSpec matchers that give more verbose error messages.
Failures:
1) foo shouldn't find all the things
Failure/Error: site.home.ol.should have_all_the_things
Expected Ol to have ol_a, ol_b, ol_c, but didn't find ol_c.
# ./spec/have_all_the_things_spec.rb:12:in `block (2 levels) in <top (required)>
Add this line to your application's Gemfile:
gem 'site_prism-rspec'
And then execute:
$ bundle
Or install it yourself as:
$ gem install site_prism-rspec
require 'site_prism/rspec'
- Fork it ( https://github.com/markborcheridng/site_prism-rspec/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request