Sha256: 2c15d202d26422497bc7c2c87e22bad6b3c4c6f2a2e533968cf5da6c2f30b64d

Contents?: true

Size: 429 Bytes

Versions: 2

Compression:

Stored size: 429 Bytes

Contents

require 'test_helper'

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
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
formie-0.8.2 test/controllers/orders_test.rb
formie-0.8.0 test/controllers/orders_test.rb