1 #This is an example of using RSpec's expectations in test/unit.
2 $LOAD_PATH.unshift File.join(File.dirname(__FILE__), "..", "lib")
5 require 'spec/test_case_adapter'
7 class IntegratingRSpecExpectationsIntoTestCaseTest < Test::Unit::TestCase
9 def test_should_support_rspecs_equality_expectations
13 def test_should_support_rspecs_comparison_expectations
19 ["John", "Paul", "George", "Ringo"]
23 def test_should_support_rspecs_collection_expectations
24 Band.new.should have(4).players