Module: RspecTwicks::InstanceMethods

Defined in:
lib/rspec_twicks.rb

Instance Method Summary collapse

Instance Method Details

#fetch(desc, &block) ⇒ Object



15
16
17
# File 'lib/rspec_twicks.rb', line 15

def fetch(desc, &block)
  it('fetch ' + desc, &block)
end

#should(desc, &block) ⇒ Object

mimic shoulda



11
12
13
# File 'lib/rspec_twicks.rb', line 11

def should(desc, &block)
  it('should ' + desc, &block)
end

#wen(desc, &block) ⇒ Object



19
20
21
# File 'lib/rspec_twicks.rb', line 19

def wen(desc, &block)
  it('when ' + desc, &block)
end