spec/support/helpers/model_helper.rb in doorkeeper-5.1.0.rc2 vs spec/support/helpers/model_helper.rb in doorkeeper-5.1.0

- old
+ new

@@ -1,11 +1,13 @@ +# frozen_string_literal: true + module ModelHelper def client_exists(client_attributes = {}) @client = FactoryBot.create(:application, client_attributes) end def create_resource_owner - @resource_owner = User.create!(name: 'Joe', password: 'sekret') + @resource_owner = User.create!(name: "Joe", password: "sekret") end def authorization_code_exists(options = {}) @authorization = FactoryBot.create(:access_grant, options) end