test/integration/order_test.rb in formie-0.9.16 vs test/integration/order_test.rb in formie-1.0.0

- old
+ new

@@ -21,9 +21,16 @@ visit "/orders/#{order.id}" assert_equal order.name, page.find('form p input#order_name').value assert_equal 'Hello Slim', page.find('form span').text end + it 'should remove comments in Slim testing full stack' do + order = Order.all.first + + visit "/orders/#{order.id}" + refute page.has_content?("a comment") + end + it 'builtins' do visit "/orders/new" assert page.has_content?("action_name new") assert page.has_content?("args [123, 456]") assert page.has_content?("block 4")