[rspec-devel] Tutorial

Yi Wen hayafirst at gmail.com
Wed Jun 4 15:15:03 EDT 2008


I cloned rspec source and try to run rake, and got 4 failures after
installing a bunch of gems. So just wonder is there any tutorial or
instruction on how to pass all specs? Thanks.

BTW: the failures are:

1)
'ExampleGroup with test/unit/interop with failing examples should
return an exit code of 256' FAILED
expected: 256,
     got: #<Process::Status: pid=5264,exited(0)> (using ==)
Diff:
@@ -1,2 +1,2 @@
-256
+#<Process::Status: pid=5264,exited(0)>

./spec/spec/interop/test/unit/spec_spec.rb:30:

2)
'ExampleGroup with test/unit/interop with example that raises an error
should return an exit code of 256' FAILED
expected: 256,
     got: #<Process::Status: pid=5266,exited(0)> (using ==)
Diff:
@@ -1,2 +1,2 @@
-256
+#<Process::Status: pid=5266,exited(0)>

./spec/spec/interop/test/unit/spec_spec.rb:42:

3)
'Test::Unit::TestCase with failing test case should return an exit
code of 256' FAILED
expected: 256,
     got: #<Process::Status: pid=5270,exited(0)> (using ==)
Diff:
@@ -1,2 +1,2 @@
-256
+#<Process::Status: pid=5270,exited(0)>

./spec/spec/interop/test/unit/testcase_spec.rb:30:

4)
'Test::Unit::TestCase with test case that raises an error should
return an exit code of 256' FAILED
expected: 256,
     got: #<Process::Status: pid=5272,exited(0)> (using ==)
Diff:
@@ -1,2 +1,2 @@
-256
+#<Process::Status: pid=5272,exited(0)>


Yi


More information about the rspec-devel mailing list