Sha256: 8963e10092e18ef4f43e7673edf0cfcaab95eaa408d664064c0377a37d749172

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

module RSpec::RubyContentMatchers  
  def have_up &block
    HaveMethod.new 'up', :class, &block
  end  
  alias_method :have_up_method, :have_up

  def have_down &block
    HaveMethod.new 'down', :class, &block
  end  
  alias_method :have_down_method, :have_down
end




Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
generator-spec-0.5.0 lib/generator_spec/matchers/migration/have_up_down.rb