Would be awesome to use proc as a message #120

Closed
wants to merge 1 commit into
from
Commits on Mar 9, 2012
  1. @hiukkanen

    Message can be also Proc returning string

    hiukkanen committed Mar 9, 2012
    Now it's possible to do things like (Rails example):
    
    user.should(be_valid, lambda { user.errors.full_messages.inspect })