Sha256: 9562a6a0ccf70de4a02c927da59626fb37c09b9a5ae88e3911b53426a26e8418

Contents?: true

Size: 487 Bytes

Versions: 15

Compression:

Stored size: 487 Bytes

Contents

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

class MyTest < 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

15 entries across 15 versions & 5 rubygems

Version Path
dchelimsky-rspec-1.1.11.2 resources/test/test_case_with_should_methods.rb
dchelimsky-rspec-1.1.11.3 resources/test/test_case_with_should_methods.rb
dchelimsky-rspec-1.1.11.4 resources/test/test_case_with_should_methods.rb
dchelimsky-rspec-1.1.11.5 resources/test/test_case_with_should_methods.rb
dchelimsky-rspec-1.1.11.6 resources/test/test_case_with_should_methods.rb
dchelimsky-rspec-1.1.11.7 resources/test/test_case_with_should_methods.rb
dchelimsky-rspec-1.1.12 resources/test/test_case_with_should_methods.rb
newbamboo-evented-rspec-1.1.12 resources/test/test_case_with_should_methods.rb
newbamboo-rspec-1.1.12 resources/test/test_case_with_should_methods.rb
rspec-1.1.12 resources/test/test_case_with_should_methods.rb
spree-0.6.0 vendor/plugins/rspec/resources/test/test_case_with_should_methods.rb
spree-0.7.0 vendor/plugins/rspec/resources/test/test_case_with_should_methods.rb
spree-0.7.1 vendor/plugins/rspec/resources/test/test_case_with_should_methods.rb
spree-0.8.0 vendor/plugins/rspec/resources/test/test_case_with_should_methods.rb
spree-0.8.1 vendor/plugins/rspec/resources/test/test_case_with_should_methods.rb