Flowdock
should(matcher=nil, message=nil) public

When should is called with no explicit receiver, the call is delegated to the object returned by subject. Combined with an implicit subject (see subject), this supports very concise expressions.

Examples

  describe Person do
    it { should be_eligible_to_vote }
  end
Show source
Register or log in to add new notes.