Sha256: e9a3c3b16746151e9deea5416b3244e674d553467b4ec928b3333b9bbac5acd2

Contents?: true

Size: 650 Bytes

Versions: 2

Compression:

Stored size: 650 Bytes

Contents

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

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 standard]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fx-0.9.0 Rakefile
fx-0.8.0 Rakefile