Upgraded Rails and RSpec
[monkeycharger.git] / vendor / plugins / rspec / rspec / examples / pure / auto_spec_description_example.rb
bloba4928ef4a85c124713d5899170d94fb565c3872e
1 require File.dirname(__FILE__) + '/spec_helper'
3 # Run spec w/ -fs to see the output of this file
5 describe "Examples with no descriptions" do
6   
7   # description is auto-generated as "should equal(5)" based on the last #should
8   it do
9     3.should equal(3)
10     5.should equal(5)
11   end
12   
13   it { 3.should be < 5 }
14   
15   it { ["a"].should include("a") }
16   
17   it { [1,2,3].should respond_to(:size) }
18   
19 end