Rakefile in intercom-rails-0.0.6 vs Rakefile in intercom-rails-0.0.7
- old
+ new
@@ -1,6 +1,7 @@
#!/usr/bin/env rake
+
begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
@@ -8,13 +9,14 @@
Bundler::GemHelper.install_tasks
require 'rake/testtask'
Rake::TestTask.new("test") do |test|
- test.libs.push "lib"
- test.libs.push "test"
+ test.libs << 'lib'
+ test.libs << 'test'
+
test.test_files = FileList['test/**/*_test.rb']
- test.warning = true
+ test.warning = false
test.verbose = true
end
task :default => :test