spec/all/anonymous_spec.rb in sugarcube-2.4.1 vs spec/all/anonymous_spec.rb in sugarcube-2.4.2
- old
+ new
@@ -36,15 +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
@@ -80,14 +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