diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2009-04-19 18:52:05 +0200 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-04-22 03:21:59 +1000 |
commit | e2201d6e52b85ddbeaf107a41eb627994eb6973c (patch) | |
tree | d41613ab5d9e2f91e904a6798fe250f30161b8b7 | |
parent | 424c87b953f469cf4818236b74b5c2a0f9712f7d (diff) | |
download | puppet-e2201d6e52b85ddbeaf107a41eb627994eb6973c.tar.gz puppet-e2201d6e52b85ddbeaf107a41eb627994eb6973c.tar.xz puppet-e2201d6e52b85ddbeaf107a41eb627994eb6973c.zip |
Fix #2173 - fix running RSpec test by hand
Since the introduction of fixing RSpec to 1.2.2, we don't
support anymore running RSpec directly ala:
ruby spec/unit/type.rb
or
spec/unit/type.rb
This patch fixes this.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
-rw-r--r-- | spec/spec_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index e3afd6f3e..2f47d4f50 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -18,7 +18,7 @@ require 'puppettest' require 'puppettest/runnable_test' require 'mocha' gem 'rspec', '=1.2.2' -require 'spec' +require 'spec/autorun' # load any monkey-patches Dir["#{dir}/monkey_patches/*.rb"].map { |file| require file } |