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