Sha256: 6d8302047787ff00b509c92747ae10f10732f518645c13af8fa1c4ff15a89546

Contents?: true

Size: 488 Bytes

Versions: 3

Compression:

Stored size: 488 Bytes

Contents

$:.push File.join(File.dirname(__FILE__), *%w[.. .. .. lib])
require 'test/unit'
require 'spec'
require 'spec/interop/test'

class MySpec < Test::Unit::TestCase
  def should_pass_with_should
    1.should == 1
  end

  def should_fail_with_should
    1.should == 2
  end

  def should_pass_with_assert
    assert true
  end

  def should_fail_with_assert
    assert false
  end

  def test
    raise "This is not a real test"
  end

  def test_ify
    raise "This is a real test"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
picolena-0.1.6 rails_plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
picolena-0.1.7 rails_plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
picolena-0.1.8 rails_plugins/rspec/stories/resources/test/test_case_with_should_methods.rb