From e00679058d65e48ad083935c9b83ea27ac2fc6e3 Mon Sep 17 00:00:00 2001 From: Pablo Cantero Date: Sat, 11 Mar 2017 10:50:12 -0500 Subject: [PATCH] Fix specs --- lib/shoryuken/environment_loader.rb | 2 +- spec/spec_helper.rb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/shoryuken/environment_loader.rb b/lib/shoryuken/environment_loader.rb index 44d26c1f..2a7bffc9 100644 --- a/lib/shoryuken/environment_loader.rb +++ b/lib/shoryuken/environment_loader.rb @@ -71,7 +71,7 @@ def load_rails end def merge_cli_defined_queues - cli_defined_queues = options[:queues] + cli_defined_queues = options[:queues].to_a cli_defined_queues.each do |cli_defined_queue| # CLI defined queues override config_file defined queues diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 036de398..bef1960a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -28,7 +28,8 @@ def perform(sqs_msg, body); end RSpec.configure do |config| # Only run slow tests if SPEC_ALL=true and AWS_ACCESS_KEY_ID is present - # The AWS_ACCESS_KEY_ID checker is because Travis CI does not expose ENV variables to pull requests from forked repositories + # The AWS_ACCESS_KEY_ID checker is because Travis CI + # does not expose ENV variables to pull requests from forked repositories # http://docs.travis-ci.com/user/pull-requests/ config.filter_run_excluding slow: true if ENV['SPEC_ALL'] != 'true' || ENV['AWS_ACCESS_KEY_ID'].nil?