summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/sum_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/sum_spec.rb')
-rw-r--r--spec/ruby/core/array/sum_spec.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/spec/ruby/core/array/sum_spec.rb b/spec/ruby/core/array/sum_spec.rb
index 06abe06135..1886d692fa 100644
--- a/spec/ruby/core/array/sum_spec.rb
+++ b/spec/ruby/core/array/sum_spec.rb
@@ -74,13 +74,11 @@ describe "Array#sum" do
[b].sum(a).should == 42
end
- ruby_bug '#19530', ''...'3.3' do
- it "calls + on the init value" do
- a = mock("a")
- b = mock("b")
- a.should_receive(:+).with(42).and_return(b)
- [42].sum(a).should == b
- end
+ it "calls + on the init value" do
+ a = mock("a")
+ b = mock("b")
+ a.should_receive(:+).with(42).and_return(b)
+ [42].sum(a).should == b
end
end