Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.



Published on

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this


  1. 1. source http://rubygems.orggem rails, 3.0.7# Bundle edge Rails instead:# gem rails, :git => git:// sqlite3group :development, :test do gem rspec-railsend
  2. 2. $ bundle install
  3. 3. describe Book do describe :create do it "Book " do Book.count.should == 0 Book.create({ title: "RBC ", description: " ", read: false}) Book.count.should == 1 endend