diff --git a/spec/support/.gitkeep b/spec/support/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/spec/support/unit_example_group.rb b/spec/unit/support/unit_example_group.rb similarity index 100% rename from spec/support/unit_example_group.rb rename to spec/unit/support/unit_example_group.rb diff --git a/spec/unit_helper.rb b/spec/unit_helper.rb index d091266..4122faf 100644 --- a/spec/unit_helper.rb +++ b/spec/unit_helper.rb @@ -1,5 +1,7 @@ require 'spec_helper' +Dir[File.dirname(__FILE__) + "/unit/support/**/*.rb"].each { |f| require f } + if defined? SimpleCov SimpleCov.command_name 'unit' end