Sha256: 4f0c91614bba3d9f3e4c78b99ce8225932f2a8589a1751e285465bf3aa41409b
Contents?: true
Size: 628 Bytes
Versions: 8
Compression:
Stored size: 628 Bytes
Contents
require "rspec/core/rake_task" desc "Run specs" task :spec => ['spec:app', 'spec:lib'] namespace :spec do desc "Run only specs tagged 'solo'" RSpec::Core::RakeTask.new(:solo) do |t| t.rspec_opts = %w(--color --tag solo) end desc "Run only specs tagged NOT tagged 'libraries' (for applications)" RSpec::Core::RakeTask.new(:app) do |t| puts "Running specs w/ monkeypatch" t.rspec_opts = %w(--color --tag ~libraries) end desc "Run only specs tagged 'libraries'" RSpec::Core::RakeTask.new(:lib) do |t| puts "Running specs w/o monkeypatch" t.rspec_opts = %w(--color --tag libraries) end end
Version data entries
8 entries across 8 versions & 2 rubygems