Rakefile in formal-0.0.3 vs Rakefile in formal-1.0.1
- old
+ new
@@ -1,11 +1,9 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'rspec/core/rake_task'
+desc 'Run formal tests.'
+RSpec::Core::RakeTask.new('spec')
+
desc 'Default: run tests.'
task :default => :spec
-
-desc 'Run formal tests.'
-RSpec::Core::RakeTask.new('spec') do |t|
- t.pattern = FileList['spec/**/*_spec.rb']
-end