Sha256: 68b6a49f4c3720d3740022b2519e6d6435764aa77d642d4216a4b40e4626ea69

Contents?: true

Size: 512 Bytes

Versions: 1

Compression:

Stored size: 512 Bytes

Contents

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

describe 'Integration with RSpec 1' do
  include AdapterTests

  def assert_equal(expected, actual)
    actual.should be == expected
  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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rr-1.1.0.rc1 spec/suites/rspec_1/integration/rspec_1_spec.rb