Rakefile in formal-0.0.2 vs Rakefile in formal-0.0.3
- old
+ new
@@ -1,2 +1,11 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
+require 'rspec/core/rake_task'
+
+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