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:- Rendering with a Flash Message

To get the failing test to pass, instead of flash we use flash.now, which is specifically designed for displaying flash messages on rendered pages; unlike the
contents of flash, its contents disappear as soon as there is an additional request. The corrected application code appears in Listing 8.12.

 

 

 

Now the test suite for users with invalid information should be green:

$  bundle exec rspec spec/requests/authentication pages spec.rb  \
> -e   "with invalid information"

 

 
 
 
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)