Sha256: 0ac6eddea94c9955ebd2e20cc988f336816b171f777104494d25cfa145bc7fd1

Contents?: true

Size: 545 Bytes

Versions: 4

Compression:

Stored size: 545 Bytes

Contents

require 'test_helper'

class Kinney::AdminClipsControllerTest < ActionController::TestCase
  # set_fixture_class :admin_users => Kinney::AdminUser
  # fixtures :admin_users

  include Devise::TestHelpers

  setup do
    @controller = ::Admin::KinneyClipsController.new
  end

  # test "should get track" do
  #   get :track
  #   assert_response :success
  # end

  test "should get analyze" do
    sign_in kinney_admin_users(:first)
    get :analyze_tracker, :use_route => :kinney, :id => 'tolson-roots'
    assert_response :success
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kinney-0.1.1 test/controllers/kinney/admin_clips_controller_test.rb
kinney-0.1.0 test/controllers/kinney/admin_clips_controller_test.rb
kinney-0.0.3 test/functional/kinney/admin_clips_controller_test.rb
kinney-0.0.2 test/functional/kinney/admin_clips_controller_test.rb