Skip to content

Instantly share code, notes, and snippets.

@jessereynolds
Created October 25, 2013 04:27
Show Gist options
  • Save jessereynolds/7149436 to your computer and use it in GitHub Desktop.
Save jessereynolds/7149436 to your computer and use it in GitHub Desktop.
pagerduty_spec.rb failing when run separately
jesse@Heart-of-Gold flapjack $ be rspec spec/lib/flapjack/gateways/pagerduty_spec.rb
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
1) Flapjack::Gateways::Pagerduty prompts the blocking redis connection to quit
Failure/Error: EM::Hiredis.should_receive(:connect).and_return(shutdown_redis)
NameError:
uninitialized constant EventMachine::Hiredis
# ./spec/lib/flapjack/gateways/pagerduty_spec.rb:16:in `block (2 levels) in <top (required)>'
8/8 |======================================================== 100 =========================================================>| Time: 00:00:00
Finished in 0.05106 seconds
8 examples, 1 failure
Failed examples:
rspec ./spec/lib/flapjack/gateways/pagerduty_spec.rb:13 # Flapjack::Gateways::Pagerduty prompts the blocking redis connection to quit
Randomized with seed 48459
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment