File tree 1 file changed +9
-0
lines changed 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 43
43
shared_examples "Validation errors displaying" do
44
44
context "when the new comment is submitted with blank fields" , blank_form_submitted : true do
45
45
scenario "validation errors displayed" do
46
+ puts "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"
47
+ puts "examples.rb: #{ __LINE__ } , method: #{ __method__ } "
48
+ puts "triggering sleep 1"
49
+ puts "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"
50
+ sleep 1
51
+ puts "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"
52
+ puts "After sleep 1"
53
+ puts "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"
54
+
46
55
expect ( page ) . to have_content ( "Your comment was not saved!" )
47
56
expect ( page ) . to have_content ( "Author: can't be blank" )
48
57
expect ( page ) . to have_content ( "Text: can't be blank" )
You can’t perform that action at this time.
0 commit comments