spec/csl/info_spec.rb in csl-1.0.0.pre5 vs spec/csl/info_spec.rb in csl-1.0.0.pre6

- old
+ new

@@ -157,10 +157,16 @@ subject.name.should be nil end it 'returns the name if set' do poe.name.to_s.should == 'E. A. Poe' - end + end + end + + describe '#family' do + it "returns the author's family name" do + poe.family.should == 'Poe' + end end describe '#email' do it 'returns the email' do poe.email.to_s.should == 'poe@baltimore.com' \ No newline at end of file