Sha256: df12b1f4d7fc73a337dffd6945e0f5a8c98cc6969397181c3e5b50a1cdfbe1b8

Contents?: true

Size: 411 Bytes

Versions: 13

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

require 'knapsack_pro'

namespace :knapsack_pro do
  namespace :queue do
    task :rspec, [:rspec_args] do |_, args|
      Kernel.exec("RAILS_ENV=test RACK_ENV=test #{$PROGRAM_NAME} 'knapsack_pro:queue:rspec_go[#{args[:rspec_args]}]'")
    end

    task :rspec_go, [:rspec_args] do |_, args|
      KnapsackPro::Runners::Queue::RSpecRunner.run(args[:rspec_args])
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
knapsack_pro-7.13.0 lib/tasks/queue/rspec.rake
knapsack_pro-7.12.1 lib/tasks/queue/rspec.rake
knapsack_pro-7.12.0 lib/tasks/queue/rspec.rake
knapsack_pro-7.11.0 lib/tasks/queue/rspec.rake
knapsack_pro-7.10.0 lib/tasks/queue/rspec.rake
knapsack_pro-7.9.0 lib/tasks/queue/rspec.rake
knapsack_pro-7.8.2 lib/tasks/queue/rspec.rake
knapsack_pro-7.8.1 lib/tasks/queue/rspec.rake
knapsack_pro-7.8.0 lib/tasks/queue/rspec.rake
knapsack_pro-7.7.0 lib/tasks/queue/rspec.rake
knapsack_pro-7.6.2 lib/tasks/queue/rspec.rake
knapsack_pro-7.6.1 lib/tasks/queue/rspec.rake
knapsack_pro-7.6.0 lib/tasks/queue/rspec.rake