Rakefile in sinatra-1.4.3 vs Rakefile in sinatra-1.4.4
- old
+ new
@@ -39,19 +39,21 @@
Rake::TestTask.new(:test) do |t|
t.test_files = FileList['test/*_test.rb']
t.ruby_opts = ['-rubygems'] if defined? Gem
t.ruby_opts << '-I.'
+ t.warning = true
end
Rake::TestTask.new(:"test:core") do |t|
core_tests = %w[base delegator encoding extensions filter
helpers mapped_error middleware radius rdoc
readme request response result route_added_hook
routing server settings sinatra static templates]
t.test_files = core_tests.map {|n| "test/#{n}_test.rb"}
t.ruby_opts = ["-rubygems"] if defined? Gem
t.ruby_opts << "-I."
+ t.warning = true
end
# Rcov ================================================================
namespace :test do