0
Когда я Rspec спецификации я получаю отчет о тестах на этом пути:Как настроить формат документа Rspec
Course Group
Loged in
In the new course group form
Create a new Group course
Create a new Group course with complex name (FAILED - 1)
Create a new Group course with 3 subjects (FAILED - 2)
1) Course Group Loged in In the new course group form Create a new Group course with complex name
Failure/Error: course_groupDB.courses.count.should == 1
expected: 1
got: 0 (using ==)
# ./spec/acceptance/course_group_spec.rb:40:in `block (4 levels) in <top (required)>'
2) Course Group Loged in In the new course group form Create a new Group course with 3 subjects
Failure/Error: course_groupDB.courses.count.should == 3
expected: 3
got: 0 (using ==)
# ./spec/acceptance/course_group_spec.rb:54:in `block (4 levels) in <top (required)>'
Уведомление о конце, когда сбои в списке, имя довольно запутанна , поскольку он смешивает все контексты, описания и примеры.
Есть ли способ показать это так же, как они указаны раньше?
Как это:
1) Course Group
Loged in
In the new course group form
Create a new Group course with complex name
Failure/Error: course_groupDB.courses.count.should == 1
expected: 1
got: 0 (using ==)
# ./spec/acceptance/course_group_spec.rb:40:in `block (4 levels) in <top (required)>'
2) Course Group
Loged in
In the new course group form
Create a new Group course with 3 subjects
Failure/Error: course_groupDB.courses.count.should == 3
expected: 3
got: 0 (using ==)
# ./spec/acceptance/course_group_spec.rb:54:in `block (4 levels) in <top (required)>'