Sha256: 84005b992e90b42fe34afa082613033aa98918f051d5127068a8e6e9d4e146c9

Contents?: true

Size: 459 Bytes

Versions: 11

Compression:

Stored size: 459 Bytes

Contents

require 'test_helper'

class Kaui::CustomFieldsControllerTest < Kaui::FunctionalTestHelper

  test 'should get index' do
    get :index
    assert_response 200
  end

  test 'should list custom fields' do
    # Test pagination
    get :pagination, :format => :json
    verify_pagination_results!
  end

  test 'should search custom fields' do
    # Test search
    get :pagination, :sSearch => 'foo', :format => :json
    verify_pagination_results!
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
kaui-0.11.0 test/functional/kaui/custom_fields_controller_test.rb
kaui-0.10.0 test/functional/kaui/custom_fields_controller_test.rb
kaui-0.9.0 test/functional/kaui/custom_fields_controller_test.rb
kaui-0.8.4 test/functional/kaui/custom_fields_controller_test.rb
kaui-0.8.3 test/functional/kaui/custom_fields_controller_test.rb
kaui-0.8.2 test/functional/kaui/custom_fields_controller_test.rb
kaui-0.8.1 test/functional/kaui/custom_fields_controller_test.rb
kaui-0.8.0 test/functional/kaui/custom_fields_controller_test.rb
kaui-0.7.2 test/functional/kaui/custom_fields_controller_test.rb
kaui-0.7.1 test/functional/kaui/custom_fields_controller_test.rb
kaui-0.7.0 test/functional/kaui/custom_fields_controller_test.rb