diff --git a/Rakefile b/Rakefile index 8bb4b01..0914384 100644 --- a/Rakefile +++ b/Rakefile @@ -21,13 +21,7 @@ load "rails/tasks/statistics.rake" Bundler::GemHelper.install_tasks -require "rake/testtask" +require "rspec/core/rake_task" +RSpec::Core::RakeTask.new(:spec) -Rake::TestTask.new(:test) do |t| - t.libs << "lib" - t.libs << "test" - t.pattern = "test/**/*_test.rb" - t.verbose = false -end - -task default: :test +task default: :spec diff --git a/bin/rake b/bin/rake new file mode 100755 index 0000000..26c7a2d --- /dev/null +++ b/bin/rake @@ -0,0 +1,16 @@ +#!/usr/bin/env ruby +# +# This file was generated by Bundler. +# +# The application 'rake' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require 'pathname' +ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile", + Pathname.new(__FILE__).realpath) + +require 'rubygems' +require 'bundler/setup' + +load Gem.bin_path('rake', 'rake')