[rspec-users] what is the context?

Zhenning Guan lists at ruby-forum.com
Mon Mar 30 00:19:27 EDT 2009


describe MovieList do
  context "when first created" do
    it "should be empty" do
      movie_list = MovieList.new
      movie_list.should be_empty
    end
  end
end


what is the context work for?
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list