spec/hamster/set/hash_spec.rb in hamster-0.3.6 vs spec/hamster/set/hash_spec.rb in hamster-0.3.7
- old
+ new
@@ -1,6 +1,6 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require 'spec_helper'
require 'hamster/set'
describe Hamster::Set do
@@ -17,14 +17,14 @@
end
end
it "values are sufficiently distributed" do
- (1..4000)
- .each_slice(4)
- .map { |a, b, c, d| Hamster.set(a, b, c, d).hash }
- .uniq
- .size.should == 1000
+ (1..4000).
+ each_slice(4).
+ map { |a, b, c, d| Hamster.set(a, b, c, d).hash }.
+ uniq.
+ size.should == 1000
end
end
end