When my specs hit an error, I get a message like this:
Vendor should reject duplicate names Failure/Error: user_with_duplicate_email.should_not be_valid
I updated it to work with with Rspec 3.2.3. In spec_helper.rb put:
spec_helper.rb
RSpec.configure do |config| config.backtrace_exclusion_patterns = [ /\/lib\d*\/ruby\//, /bin\//, /gems/, /spec\/spec_helper\.rb/, /lib\/rspec\/(core|expectations|matchers|mocks)/ ] end
This is pure gold. Thank you luacassus!