spec/csl/info_spec.rb in csl-1.0.0.pre3 vs spec/csl/info_spec.rb in csl-1.0.0.pre4
- old
+ new
@@ -24,11 +24,11 @@
lambda { Info.new.children[:id] = 'foo' }.should_not raise_error
end
end
describe '#category' do
- it 'returns nil by default' do
- Info.new.category.should be_nil
+ it 'returns an empty list by default' do
+ Info.new.category.should be_empty
end
end
describe 'link accessors' do
it { should_not have_self_link }
\ No newline at end of file