Permalink
Browse files

Fixing Rakefile so it doesn't swallow rake tasks

  • Loading branch information...
1 parent 731e6c9 commit 782e35d3ca52697b98150e218c816967880ffd66 @beerlington beerlington committed Jul 13, 2012
Showing with 3 additions and 8 deletions.
  1. +3 −8 Rakefile
View
@@ -1,11 +1,6 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
-require 'rake/testtask'
+require 'rspec/core/rake_task'
-desc 'Default: run unit tests.'
-task :default => [:spec]
-
-desc 'Test classy enum'
-Rake::TestTask.new(:spec) do |t|
- exec 'rspec'
-end
+RSpec::Core::RakeTask.new(:spec)
+task :default => :spec

0 comments on commit 782e35d

Please sign in to comment.