Guest User

book_class01

a guest
Jun 23rd, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.21 KB | None | 0 0
  1. describe Book do
  2.  
  3.   before do
  4.     @book = Book.new
  5.   end
  6.  
  7.   describe 'title' do
  8.     it 'should capitalize the first letter' do
  9.       @book.title = "inferno"
  10.       @book.title.should == "Inferno"
  11.     end
Advertisement
Add Comment
Please, Sign In to add comment