spec/all/anonymous_spec.rb in sugarcube-2.4.2 vs spec/all/anonymous_spec.rb in sugarcube-2.5.0

- old
+ new

@@ -36,13 +36,13 @@ it 'should have an #falsey? method, and return false' do @h.falsey?.should == false end - # it 'should raise NoMethodError on non-existing keys' do - # should.raise(NoMethodError) { @h.hoge } - # end + it 'should raise NoMethodError on non-existing keys' do + should.raise(NoMethodError) { @h.hoge } + end end describe "respond_to?" do @@ -78,12 +78,12 @@ @h.falsey = nil @h.falsey.should == nil @h.falsey?.should == false end - # it 'should raise NoMethodError on non-existing keys' do - # should.raise(NoMethodError) { @h.hoge.should == 'Hoge' } - # end + it 'should raise NoMethodError on non-existing keys' do + should.raise(NoMethodError) { @h.hoge.should == 'Hoge' } + end end end