shoulda-matchers fix for Rails 4 RC 2