Skip to content

Commit

Permalink
chore: Use user factory in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
toupeira committed Oct 26, 2016
1 parent 45a730f commit c73dc98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe Doorkeeper::OpenidConnect::UserinfoController, type: :controller do
let(:client) { create :application }
let(:user) { User.create! name: 'Joe', password: 'sekret' }
let(:user) { create :user, name: 'Joe' }
let(:token) { create :access_token, application: client, resource_owner_id: user.id }

describe '#show' do
Expand Down

0 comments on commit c73dc98

Please sign in to comment.