Ruby On Rails Classroom image

Pooja  Negi / Student / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  First|1 | 2 | 3|
Lessons:- Counterpoint: RSpec Custom Matchers

 

With the code in Listing 8.34, we can write

it { should have error message ( 'Invalid' ) }

 

and  

describe  "with valid information"  do
     let ( :user )  {  FactoryGirl .create ( :user ) }
   before { valid signin(user) }
.
.
.

There are many other examples of coupling between our tests and the site’s implementation. Sweeping through the current test suite and decoupling the tests from the implementation details by making custom matchers and methods is left as an exercise (Section 8.5)

 
 
 
image
Pooja   Negi

Skills    Ruby On Rails

Qualifications :- High School - SSN high school, College/University - HNBGU, College/University - SRHU,
Location :-Ranipokhari,Rishikesh,Uttarakhand,India
Description:- Student
Explore
 

  Students (0)