Sha256: 3ca6da4170738dac994e73234a3f27001acbc4dd84e191af530f430ba2b44836

Contents?: true

Size: 490 Bytes

Versions: 57

Compression:

Stored size: 490 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

57 entries across 57 versions & 10 rubygems

Version Path
dchelimsky-rspec-1.1.10 stories/resources/test/test_case_with_should_methods.rb
dchelimsky-rspec-1.1.11.1 stories/resources/test/test_case_with_should_methods.rb
dchelimsky-rspec-1.1.11 stories/resources/test/test_case_with_should_methods.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/test/test_case_with_should_methods.rb
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/test/test_case_with_should_methods.rb
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/test/test_case_with_should_methods.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/test/test_case_with_should_methods.rb
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/test/test_case_with_should_methods.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/test/test_case_with_should_methods.rb
mack-0.8.2 lib/gems/rspec-1.1.11/stories/resources/test/test_case_with_should_methods.rb
picolena-0.0.99 app_generators/picolena/templates/vendor/plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
picolena-0.1.1 rails_plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
picolena-0.1.0 rails_plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
picolena-0.1.4 rails_plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
picolena-0.1.2 rails_plugins/rspec/stories/resources/test/test_case_with_should_methods.rb
picolena-0.1.3 rails_plugins/rspec/stories/resources/test/test_case_with_should_methods.rb