Sha256: ce511640f56bce7e01293bc33a3e418aeca8350a8bce61ecf9f9cd07aca0a0af

Contents?: true

Size: 433 Bytes

Versions: 11

Compression:

Stored size: 433 Bytes

Contents

require 'test_helper'

class Kaui::TagsControllerTest < Kaui::FunctionalTestHelper

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

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

  test 'should search tags' 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/tags_controller_test.rb
kaui-0.10.0 test/functional/kaui/tags_controller_test.rb
kaui-0.9.0 test/functional/kaui/tags_controller_test.rb
kaui-0.8.4 test/functional/kaui/tags_controller_test.rb
kaui-0.8.3 test/functional/kaui/tags_controller_test.rb
kaui-0.8.2 test/functional/kaui/tags_controller_test.rb
kaui-0.8.1 test/functional/kaui/tags_controller_test.rb
kaui-0.8.0 test/functional/kaui/tags_controller_test.rb
kaui-0.7.2 test/functional/kaui/tags_controller_test.rb
kaui-0.7.1 test/functional/kaui/tags_controller_test.rb
kaui-0.7.0 test/functional/kaui/tags_controller_test.rb