File: 001-require-explicit-rspec.patch

package info (click to toggle)
ruby-mixlib-cli 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 136 kB
  • ctags: 17
  • sloc: ruby: 321; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: add explicit require for rspec
 Tests fail with "undefined method describe' for main:Object (NoMethodError)"
 .
 This patch add an explicit rspec require to fix it.
Bug: https://github.com/opscode/mixlib-cli/pull/6
Author: Praveen Arimbrathodiyil <pravi.a@gmail.com>
Last-Update: 27-12-2011

--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,6 +1,7 @@
 $TESTING=true
 $:.push File.join(File.dirname(__FILE__), '..', 'lib')
 
+require 'rspec'
 require 'mixlib/cli'
 
 class TestCLI