Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
27 lines (21 sloc) 0.651 kb
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)
Jump to Line
Something went wrong with that request. Please try again.