james 0.0.8-universal-darwin-10 → 0.0.9-universal-darwin-10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,7 +51,7 @@ module James
51
51
  #
52
52
  def expects
53
53
  visitors.inject([]) do |expects, visitor|
54
- total = expects + visitor.expects
54
+ total = visitor.expects + expects
55
55
  break total unless visitor.chainable?
56
56
  total
57
57
  end
@@ -50,7 +50,7 @@ describe James::Visitors do
50
50
  first.stub! :expects => [:a, :b], :chainable? => true
51
51
  second.stub! :expects => [:c, :d, :e], :chainable? => true
52
52
  end
53
- it { visitors.expects.should == [:a, :b, :c, :d, :e] }
53
+ it { visitors.expects.should == [:c, :d, :e, :a, :b] }
54
54
  end
55
55
  context 'not chainable' do
56
56
  before(:each) do
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: james
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.8
5
+ version: 0.0.9
6
6
  platform: universal-darwin-10
7
7
  authors:
8
8
  - Florian Hanke