module Thoughtbot::Shoulda
def should(name, options = {}, &blk)
def should(name, options = {}, &blk) if Shoulda.current_context block_given? ? Shoulda.current_context.should(name, options, &blk) : Should.current_context.should_eventually(name) else context_name = self.name.gsub(/Test/, "") context = Thoughtbot::Shoulda::Context.new(context_name, self) do block_given? ? should(name, options, &blk) : should_eventually(name) end context.build end end