Rakefile in rspec-scaffold-0.2.0 vs Rakefile in rspec-scaffold-0.2.1
- old
+ new
@@ -1,3 +1,11 @@
require 'rspec/core/rake_task'
-RSpec::Core::RakeTask.new(:spec)
-task default: :spec
+
+RSpec::Core::RakeTask.new(:spec) do |config|
+ config.pattern = 'spec/lib/**/*_spec.rb'
+end
+
+RSpec::Core::RakeTask.new(:integration) do |config|
+ config.pattern = 'spec/integration/**/*_spec.rb'
+end
+
+task default: [:spec, :integration]