Tag Archives: rails rspec
RSpec Rails Flash Matcher
I just started using Shoulda’s very nice RSpec custom matchers. They do a great job of trimming the fat off your specs. One thing I found missing though was a simple matcher to handle the Rails flash. A quick googling didn’t turn up any simple matchers for this, so I put one together and pushed it to github — rspec-flash-matcher. Continue reading