Sha256: d0615768560c1f08e818941cfea7bff5f4f1c604f87c5c282880c7fb64832438

Contents?: true

Size: 347 Bytes

Versions: 4

Compression:

Stored size: 347 Bytes

Contents

class MiniTest::Spec < MiniTest::Unit::TestCase
  
  class << self
    alias :setup :before unless defined?(Rails)
    alias :teardown :after unless defined?(Rails)
    alias :should :it
    alias :context :describe
  end
  
  def self.should_eventually(desc)
    it("should eventually #{desc}") { skip("Should eventually #{desc}") }
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mini_shoulda-0.5.0 lib/mini_shoulda/spec.rb
mini_shoulda-0.4.0 lib/mini_shoulda/spec.rb
mini_shoulda-0.3.0 lib/mini_shoulda/spec.rb
mini_shoulda-0.2.0 lib/mini_shoulda/spec.rb