Rakefile in committee-rails-0.1.0 vs Rakefile in committee-rails-0.1.1
- old
+ new
@@ -1,10 +1,6 @@
-require "bundler/gem_tasks"
-require "rake/testtask"
+require 'bundler/gem_tasks'
+Bundler.setup
+require 'rspec/core/rake_task'
-Rake::TestTask.new(:test) do |t|
- t.libs << "test"
- t.libs << "lib"
- t.test_files = FileList['test/**/*_test.rb']
-end
-
-task :default => :test
+RSpec::Core::RakeTask.new('spec')
+task default: :spec