Rakefile in pose-0.3 vs Rakefile in pose-1.0.0
- old
+ new
@@ -7,20 +7,8 @@
end
require 'rspec/core/rake_task'
Bundler::GemHelper.install_tasks
-desc 'Default: run the specs and features.'
-task :default => 'spec:unit' do
- system("bundle exec rake spec")
-end
-
-namespace :spec do
-
- desc "Run unit specs"
- RSpec::Core::RakeTask.new('unit') do |t|
- t.pattern = 'spec/{*_spec.rb}'
- end
-end
-
-desc "Run the unit tests"
-task :spec => ['spec:unit']
+# RSpec tasks.
+RSpec::Core::RakeTask.new :spec
+task :default => :spec