Skip to content

Commit

Permalink
Adding auth helpers to player function tests. Fixes broken build.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamnet committed Apr 18, 2012
1 parent 0729350 commit f14eb34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/functional/players_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
require 'test_helper'

class PlayersControllerTest < ActionController::TestCase
include Devise::TestHelpers

setup do
@player = players(:one)
request.env["devise.mapping"] = Devise.mappings[:user]
end

test "should get index" do
Expand Down

0 comments on commit f14eb34

Please sign in to comment.