1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Enable warnings during spec runs

This commit is contained in:
Matijs van Zuijlen 2015-01-22 19:24:59 +01:00
parent 741782b726
commit cc6bbb5782
2 changed files with 1 additions and 5 deletions

View file

@ -12,7 +12,7 @@ task :default => [:test]
def run_specs paths
format = ENV['VERBOSE'] ? '--format documentation ' : ''
sh "rspec #{format}#{paths.join ' '}"
sh "rspec -w #{format}#{paths.join ' '}"
end
desc "Run tests"

View file

@ -14,10 +14,6 @@ class Module
public :remove_method
end
# turn warnings off (esp for Pry::Hooks which will generate warnings
# in tests)
$VERBOSE = nil
Pad = Class.new do
include Pry::Config::Behavior
end.new(nil)