]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/gems/rspec-1.1.2/spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb
added RSpec and RSpec on Rails
[rails.git] / vendor / gems / rspec-1.1.2 / spec / spec / interop / test / unit / testcase_spec_with_test_unit.rb
diff --git a/vendor/gems/rspec-1.1.2/spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb b/vendor/gems/rspec-1.1.2/spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb
new file mode 100644 (file)
index 0000000..52afd8e
--- /dev/null
@@ -0,0 +1,20 @@
+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