Sha256: f0b109ab4bbb8131dacaeb09a336abea31ba2680fa51e37f571a1dd7b0012b82

Contents?: true

Size: 651 Bytes

Versions: 23

Compression:

Stored size: 651 Bytes

Contents

require "rubygems"
require "bundler/setup"
require "bundler/gem_tasks"

require "rake"
require "rspec/core/rake_task"

namespace :dummy do
  require_relative "spec/dummy/application"
  Dummy::Application.load_tasks
end

desc "Run specs other than spec/acceptance"
RSpec::Core::RakeTask.new("spec") do |task|
  task.exclude_pattern = "spec/acceptance/**/*_spec.rb"
  task.verbose = false
end

desc "Run acceptance specs in spec/acceptance"
RSpec::Core::RakeTask.new("spec:acceptance") do |task|
  task.pattern = "spec/acceptance/**/*_spec.rb"
  task.verbose = false
end

desc "Run the specs and acceptance tests"
task default: %w(spec spec:acceptance)

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
clearance-2.2.1 Rakefile
clearance-2.2.0 Rakefile
clearance-2.1.0 Rakefile
clearance-2.0.0 Rakefile
clearance-2.0.0.beta2 Rakefile
clearance-2.0.0.beta1 Rakefile
clearance-1.17.0 Rakefile
clearance-1.16.2 Rakefile
clearance-1.16.1 Rakefile
clearance-1.16.0 Rakefile
clearance-1.15.1 Rakefile
clearance-1.15.0 Rakefile
clearance-1.14.2 Rakefile
clearance-1.14.1 Rakefile
clearance-1.14.0 Rakefile
clearance-1.13.0 Rakefile
clearance-1.12.1 Rakefile
clearance-1.12.0 Rakefile
clearance-1.11.0 Rakefile
clearance-1.10.1 Rakefile