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:
parent
741782b726
commit
cc6bbb5782
2 changed files with 1 additions and 5 deletions
2
Rakefile
2
Rakefile
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue