File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
spec/bitbucket_rest_api/core_ext Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1313 end
1414
1515 context '#except!' do
16- # TODO fix this test after fixing except!
17- xit 'should respond to except!' do
16+ it 'should respond to except!' do
1817 @nested_hash . should respond_to :except!
1918 copy = @nested_hash . dup
20- copy . except! ( 'b' , 'a' )
21- copy . should be_empty
19+ copy . except! ( 'b' , 'a' , 'c' )
20+ expect ( copy ) . to be_empty
2221 end
2322 end
2423
2524 context '#except' do
2625 it 'should respond to except' do
27- expect ( @nested_hash ) . to respond_to :except
26+ @nested_hash . should respond_to :except
2827 end
2928
30- # TODO fix this test after fixing except!
31- xit 'should remove key from the hash' do
32- @nested_hash . except ( 'a' ) . should be_empty
29+ it 'should remove key from the hash' do
30+ expect ( @nested_hash . except ( 'a' ) ) . to be_empty
3331 end
3432 end
3533
You can’t perform that action at this time.
0 commit comments