title: What is the difference between it and describe in Rspec
body: <p>Thank in Advance, 
  Can anyone give the advantages of Rspec?. Why the client wants Rspec testing. What are all the benefits?.</p>
  
  <p>Explain me what is <code>it</code> and <code>descibe</code> below </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>class ClassRoom 
     def initialize(students) 
        @students = students 
     End
     
     def list_student_names 
        @students.map(&amp;:name).join(',') 
     end 
  end 
  
  describe ClassRoom do 
     it 'the list_student_names method should work correctly' do 
        student1 = double('student') 
        student2 = double('student') 
        
        allow(student1).to receive(:name) { 'John Smith'}
        allow(student2).to receive(:name) { 'Jill Smith'} 
        
        cr = ClassRoom.new [student1,student2]
        expect(cr.list_student_names).to eq('John Smith,Jill Smith') 
     end 
  end</code></pre>
  </div>
  </div>
  </p>