Skip to content

Instantly share code, notes, and snippets.

@mbj
Created July 23, 2013 19:59
Show Gist options
  • Save mbj/6065633 to your computer and use it in GitHub Desktop.
Save mbj/6065633 to your computer and use it in GitHub Desktop.
substation failure
Failures:
1) Substation::Chain#each it should behave like an #each method with no block yields the expected values
Failure/Error: subject.to_a.should eql(object.to_a)
NoMethodError:
undefined method `should' for #<Array:0x1c2b7850>
Shared Example Group: "an #each method" called from ./spec/unit/substation/chain/each_spec.rb:17
# /home/mbj/.gem/jruby/1.9.3/bundler/gems/devtools-bca222ee252d/shared/spec/shared/each_method_behaviour.rb:12:in `(root)'
# org/jruby/RubyBasicObject.java:1735:in `instance_eval'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example.rb:114:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example.rb:112:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example.rb:254:in `with_around_each_hooks'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example.rb:111:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example.rb:109:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example_group.rb:400:in `run_examples'
# org/jruby/RubyArray.java:2417:in `map'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example_group.rb:396:in `run_examples'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example_group.rb:381:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example_group.rb:379:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example_group.rb:382:in `run'
# org/jruby/RubyArray.java:2417:in `map'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example_group.rb:382:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example_group.rb:379:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example_group.rb:382:in `run'
# org/jruby/RubyArray.java:2417:in `map'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example_group.rb:382:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/example_group.rb:379:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/command_line.rb:28:in `run'
# org/jruby/RubyArray.java:2417:in `map'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/command_line.rb:28:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/reporter.rb:58:in `report'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/command_line.rb:25:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/runner.rb:80:in `run'
# /home/mbj/.gem/jruby/1.9.3/gems/rspec-core-2.14.4/lib/rspec/core/runner.rb:17:in `autorun'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment