test/controllers/orders_test.rb in formie-0.9.5 vs test/controllers/orders_test.rb in formie-0.9.11
- old
+ new
@@ -3,9 +3,10 @@
class OrdersControllerTest < ActionController::TestCase
test 'checking formie copyright' do
get :index
assert_response :success
+# assert_not_nil assigns(:orders)
assert_match(/copyright/, response.body)
assert_match(/Copyright/, response.body)
assert_match(/label/ , response.body)
assert_match(/input/ , response.body)
assert_match(/def/ , response.body)