Rakefile in mixpanel-1.0.0 vs Rakefile in mixpanel-1.1.1
- old
+ new
@@ -1,9 +1,10 @@
-require 'spec/rake/spectask'
+require 'rubygems'
+require 'rspec/core/rake_task'
task :default => :spec
desc "Run all examples"
-Spec::Rake::SpecTask.new('spec') do |t|
- t.spec_opts = ["-u -c -fs"]
- t.spec_files = FileList['spec/**/*_spec.rb']
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.rspec_opts = ["-c -fs"]
+ t.pattern = 'spec/**/*_spec.rb'
end