Skip to content

Instantly share code, notes, and snippets.

@camelpunch
Created January 8, 2016 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camelpunch/846fc50ba8c8479f488b to your computer and use it in GitHub Desktop.
Save camelpunch/846fc50ba8c8479f488b to your computer and use it in GitHub Desktop.
amq-protocol$ ./bin/rspec -b spec
Running on 2.2.2
........................................................................................................................................................F.....................................................................................................................................................................................................................................................................
Failures:
1) AMQ::Protocol::Method.encode_body when the body fits perfectly in a single frame encodes a body into a single BodyFrame
Failure/Error: expect(body_frames.size).to eq(1)
expected: 1
got: 2
(compared using ==)
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-support-3.4.1/lib/rspec/support.rb:87:in `block in <module:Support>'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-support-3.4.1/lib/rspec/support.rb:96:in `call'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-support-3.4.1/lib/rspec/support.rb:96:in `notify_failure'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-expectations-3.4.0/lib/rspec/expectations/fail_with.rb:27:in `fail_with'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-expectations-3.4.0/lib/rspec/expectations/handler.rb:38:in `handle_failure'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-expectations-3.4.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-expectations-3.4.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-expectations-3.4.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-expectations-3.4.0/lib/rspec/expectations/expectation_target.rb:54:in `to'
# ./spec/amq/protocol/method_spec.rb:42:in `block (4 levels) in <module:Protocol>'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:236:in `instance_exec'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:236:in `block in run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:477:in `block in with_around_and_singleton_context_hooks'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:434:in `block in with_around_example_hooks'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:478:in `block in run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:616:in `run_around_example_hooks_for'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:478:in `run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:434:in `with_around_example_hooks'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:477:in `with_around_and_singleton_context_hooks'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:233:in `run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:581:in `block in run_examples'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:577:in `map'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:577:in `run_examples'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:543:in `run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `block in run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `map'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `block in run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `map'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:115:in `block (3 levels) in run_specs'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:115:in `map'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:115:in `block (2 levels) in run_specs'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1680:in `with_suite_hooks'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:114:in `block in run_specs'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/reporter.rb:77:in `report'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:113:in `run_specs'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:89:in `run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:73:in `run'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:41:in `invoke'
# /Users/pivotal/.gem/ruby/2.2.2/gems/rspec-core-3.4.1/exe/rspec:4:in `<top (required)>'
# ./bin/rspec:16:in `load'
# ./bin/rspec:16:in `<main>'
Finished in 0.08787 seconds (files took 0.16946 seconds to load)
414 examples, 1 failure
Failed examples:
rspec ./spec/amq/protocol/method_spec.rb:39 # AMQ::Protocol::Method.encode_body when the body fits perfectly in a single frame encodes a body into a single BodyFrame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment