Sha256: 011e2f50e2efb11760331c252c5eff1b08c7169cec19be7abba4a95534f833da

Contents?: true

Size: 408 Bytes

Versions: 6

Compression:

Stored size: 408 Bytes

Contents

require "test/unit"
require File.dirname(__FILE__) + '/../../../../spec_helper.rb'

describe "TestCase#method_name" do
  it "should equal the description of the example" do
    @method_name.should == "should equal the description of the example"
  end

  def test_this
    true.should be_true
  end

  def testThis
    true.should be_true
  end

  def testament
    raise "testament is not a test"
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
rspec-1.1.0 spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb
rspec-1.1.1 spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb
rspec-1.1.2 spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb
typo-5.0.2 vendor/plugins/rspec/spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb
typo-5.0.1 vendor/plugins/rspec/spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb
typo-5.0 vendor/plugins/rspec/spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb