Method: Cukunity::SpecHelpers#should

Defined in:
lib/cukunity/cucumber/support/spec_helpers.rb

#should(negation, target, *args) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/cukunity/cucumber/support/spec_helpers.rb', line 3

def should(negation, target, *args)
  if negation
    target.should_not *args
  else
    target.should *args
  end
end