Rakefile in restrainer-1.0.0 vs Rakefile in restrainer-1.0.1

- old
+ new

@@ -1,18 +1,6 @@ require "bundler/gem_tasks" +require "rspec/core/rake_task" -desc 'Default: run unit tests.' -task :default => :test +RSpec::Core::RakeTask.new(:spec) -desc 'RVM likes to call it tests' -task :tests => :test - -begin - require 'rspec' - require 'rspec/core/rake_task' - desc 'Run the unit tests' - RSpec::Core::RakeTask.new(:test) -rescue LoadError - task :test do - STDERR.puts "You must have rspec 2.0 installed to run the tests" - end -end +task :default => :spec