Sha256: 0cb9230ec18247edfc30687618299409b118845073ca70eec79acc7fd3c8cc4d

Contents?: true

Size: 435 Bytes

Versions: 13

Compression:

Stored size: 435 Bytes

Contents

# frozen_string_literal: true

require 'knapsack_pro'

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

    task :cucumber_go, [:cucumber_args] do |_, args|
      KnapsackPro::Runners::Queue::CucumberRunner.run(args[:cucumber_args])
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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