Sha256: c94a89ada054493c0d3713ff9861dae4a88cbc1116477df934c3333170c99546
Contents?: true
Size: 511 Bytes
Versions: 1
Compression:
Stored size: 511 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rr-1.1.0.rc1 | spec/suites/rspec_2/integration/rspec_2_spec.rb |