Sha256: ac0b2c41d947e941f64ff8eb2d3abb9d8cbc0a2cb656b4e81d61f351e419ce86

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

# Uncomment to enable code coverage tool.
# require 'rspec_ext/code_coverage'

require 'rspec'

require 'rspec_ext/rspec'
require 'rspec_ext/misc'

# FactoryGirl replacement.
autoload :Factory, 'rspec_ext/factory'
def factory name = nil
  name ? factory.build(name) : $factory ||= Factory.new
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_ext-4.0.2 lib/rspec_ext.rb
ruby_ext-4.0.1 lib/rspec_ext.rb