Rakefile in elm-rails-0.2.2 vs Rakefile in elm-rails-0.4.0
- old
+ new
@@ -1,9 +1,7 @@
-require "bundler/gem_tasks"
-require "rake/testtask"
+require 'bundler/setup'
+require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
-Rake::TestTask.new do |t|
- t.pattern = "**/*_test.rb"
-end
+RSpec::Core::RakeTask.new(:spec)
-task :default => :test
-
+task default: :spec