Skip to content

Commit

Permalink
fix base controller tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benogle committed Sep 4, 2012
1 parent 125866f commit 5aba219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/integration/api/v1/base_controller_spec.rb
Expand Up @@ -15,7 +15,7 @@ class Api::V1::BaseController
@obj = Object.new
@controller = Api::V1::BaseController.new
@opts = { :controller => @obj }
@user = users(:reader)
@user = users(:user)
@admin = users(:admin)
end

Expand Down Expand Up @@ -76,7 +76,7 @@ class Api::V1::BaseController
login_as user, :scope => :user
end

let(:user) { users(:reader) }
let(:user) { users(:user) }
let(:admin) { users(:admin) }

it 'handles validation issues' do
Expand Down

0 comments on commit 5aba219

Please sign in to comment.