spec/hamster/set/one_spec.rb in hamster-0.2.5 vs spec/hamster/set/one_spec.rb in hamster-0.2.6
- old
+ new
@@ -1,6 +1,6 @@
-require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
+require File.expand_path('../../spec_helper', File.dirname(__FILE__))
require 'hamster/set'
describe Hamster::Set do
@@ -38,10 +38,10 @@
pending do
@set.one? { |item| true }.should == false
end
end
- it "returns fale if the block never returns true" do
+ it "returns false if the block never returns true" do
pending do
@set.one? { |item| false }.should == false
end
end