Rakefile in capcoauth-0.4.0 vs Rakefile in capcoauth-0.5.0
- old
+ new
@@ -1,20 +1,20 @@
require 'bundler/setup'
require 'rspec/core/rake_task'
desc 'Default: run specs.'
-task :default => :spec
+task :default => :spec_example
desc 'Run all specs'
-RSpec::Core::RakeTask.new(:spec) do |config|
+RSpec::Core::RakeTask.new(:spec_example) do |config|
config.verbose = false
end
namespace :capcoauth do
- # desc 'Install Capcoauth in dummy app'
- # task :install do
- # cd 'spec/dummy'
- # system 'bundle exec rails g capcoauth:install --force'
- # end
+ desc 'Install Capcoauth in dummy app'
+ task :install do
+ cd 'spec/dummy'
+ system 'bundle exec rails g capcoauth:install --force'
+ end
end
Bundler::GemHelper.install_tasks