2013-02-28 00:06:29 -03:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2013-04-21 18:13:34 -03:00
|
|
|
Dir[File.dirname(__FILE__) + "/unit/support/**/*.rb"].each { |f| require f }
|
|
|
|
|
2013-04-20 17:38:01 -03:00
|
|
|
if defined? SimpleCov
|
|
|
|
SimpleCov.command_name 'unit'
|
|
|
|
end
|
|
|
|
|
2013-02-28 00:06:29 -03:00
|
|
|
RSpec.configure do |config|
|
|
|
|
config.include RSpec::Fire
|
2013-03-01 21:20:11 -03:00
|
|
|
|
|
|
|
config.include UnitExampleGroup, :type => :unit, :example_group => {
|
|
|
|
:file_path => /\bspec\/unit\//
|
|
|
|
}
|
2013-02-28 00:06:29 -03:00
|
|
|
end
|