Sha256: 7587c1494372da9a0ad02d0aff4f3ce120aac98772e69f671f7fca9a18ea55b8

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

require 'test_helper'

class ArraysControllerTest < ActionController::TestCase
  test "should get index array" do
    get :index, name: 'string'
    assert_response :success

    get :index, name: 'array'
    assert_response :success

    assert_raise(Lina::ReturnCheckError) { get :index, name: 'other' }
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lina-0.0.4 test/dummy/test/controllers/arrays_controller_test.rb
lina-0.0.3 test/dummy/test/controllers/arrays_controller_test.rb
lina-0.0.2 test/dummy/test/controllers/arrays_controller_test.rb