Sha256: 922d986579481a637c6c9bb9c682e3d3748d3c51def30d9a9f48ffc102f9e268

Contents?: true

Size: 406 Bytes

Versions: 15

Compression:

Stored size: 406 Bytes

Contents

require 'test_helper'

class Kaui::QueuesControllerTest < Kaui::FunctionalTestHelper

  test 'should get queues' do
    get :index, :account_id => @account.account_id, :with_history => true
    now = assigns(:now)
    queues_entries = assigns(:queues_entries)

    assert_not_nil now
    assert_not_nil queues_entries
    assert queues_entries['busEvents'].size > 0

    assert_response :success
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kaui-2.1.0 test/functional/kaui/queues_controller_test.rb
kaui-2.0.4 test/functional/kaui/queues_controller_test.rb
kaui-2.0.3 test/functional/kaui/queues_controller_test.rb
kaui-2.0.2 test/functional/kaui/queues_controller_test.rb
kaui-2.0.1 test/functional/kaui/queues_controller_test.rb
kaui-2.0.0 test/functional/kaui/queues_controller_test.rb
kaui-1.4.1 test/functional/kaui/queues_controller_test.rb
kaui-1.4.0 test/functional/kaui/queues_controller_test.rb
kaui-1.3.0 test/functional/kaui/queues_controller_test.rb
kaui-1.2.0 test/functional/kaui/queues_controller_test.rb
kaui-1.1.0 test/functional/kaui/queues_controller_test.rb
kaui-1.0.0 test/functional/kaui/queues_controller_test.rb
kaui-0.16.2 test/functional/kaui/queues_controller_test.rb
kaui-0.16.1 test/functional/kaui/queues_controller_test.rb
kaui-0.16.0 test/functional/kaui/queues_controller_test.rb