From 3909a26ea3b8593f21983c7a1cae98a97f2a037c Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sun, 21 Apr 2013 18:13:34 -0300 Subject: [PATCH] Move unit specs example group related code to spec/unit/support --- spec/support/.gitkeep | 0 spec/{ => unit}/support/unit_example_group.rb | 0 spec/unit_helper.rb | 2 ++ 3 files changed, 2 insertions(+) create mode 100644 spec/support/.gitkeep rename spec/{ => unit}/support/unit_example_group.rb (100%) 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