Rakefile in muchkeys-0.0.1 vs Rakefile in muchkeys-0.3.3

- old
+ new

@@ -1,6 +1,21 @@ require "bundler/gem_tasks" require "rspec/core/rake_task" -RSpec::Core::RakeTask.new(:spec) +namespace :spec do + desc "Run Unit Tests" + RSpec::Core::RakeTask.new(:unit) do |t| + t.pattern = 'spec/lib/**/*_spec.rb' + end -task :default => :spec + desc "Run Feature/Integration Tests" + RSpec::Core::RakeTask.new(:features) do |t| + t.pattern = 'spec/features/**/*.rb' + end + + desc "Run All Tests" + RSpec::Core::RakeTask.new(:all) do |t| + t.pattern = 'spec/lib/**/*_spec.rb, spec/features/**/*.rb' + end +end + +task :default => "spec:all"