test/controllers/orders_test.rb in formie-1.0.4 vs test/controllers/orders_test.rb in formie-1.1.0

- old
+ new

@@ -1,16 +1,14 @@ -require 'test_helper' +require "test_helper" class OrdersControllerTest < ActionController::TestCase - - test 'checking formie copyright' do + test "formie copyright" do get :index assert_response :success -# assert_not_nil assigns(:orders) + # 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) + assert_match(/label/, response.body) + assert_match(/input/, response.body) + assert_match(/def/, response.body) end - end