require File.expand_path('../spec_helper', __FILE__)
require File.expand_path('../../common/adapter_tests', __FILE__)

describe 'Integration with RSpec 2' do
  include AdapterTests

  def assert_equal(expected, actual)
    expect(actual).to eq actual
  end

  def assert_raise(error, message=nil, &block)
    expect(&block).to raise_error(error, message)
  end

  instance_methods.each do |method_name|
    if method_name =~ /^test_(.+)$/
      it(method_name) { __send__(method_name) }
    end
  end
end

Add an actual integration test for RSpec 2
Add an actual integration test for RSpec 2
