Sha256: ca02aa15d616a019f7db64ab9fc80c27073100dff744fbad9f9bba5b90e7e238

Contents?: true

Size: 691 Bytes

Versions: 10

Compression:

Stored size: 691 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task :smoke do
  exec "spec/smoke"
end

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

task(:spec).clear
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

10 entries across 10 versions & 2 rubygems

Version Path
scenic-1.7.0 Rakefile
scenic-1.6.0 Rakefile
scenic-1.5.5 Rakefile
scenic-jets-1.5.5 Rakefile
scenic-jets-1.5.4 Rakefile
scenic-1.5.4 Rakefile
scenic-1.5.3 Rakefile
scenic-1.5.2 Rakefile
scenic-1.5.1 Rakefile
scenic-1.5.0 Rakefile