Rakefile in cash_flow_analysis-0.1.0 vs Rakefile in cash_flow_analysis-0.2.0
- old
+ new
@@ -1,2 +1,13 @@
require "bundler/gem_tasks"
+require "rspec/core/rake_task"
+desc "Run all specs in spec/"
+task :spec do
+ RSpec::Core::RakeTask.new(:spec) do |t|
+ t.fail_on_error = true
+ t.pattern = "./spec/**/*_spec.rb"
+ t.rspec_opts = %w[--color]
+ end
+end
+
+task default: [:spec]