chore(rubocop): giganto rubocop commit.
muahahahah
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
class UserFixture
|
||||
def self.reset_all_users
|
||||
User.delete_all
|
||||
@@ -5,11 +6,11 @@ class UserFixture
|
||||
end
|
||||
|
||||
def self.normal_user
|
||||
password = 'thi$ 1s cOmplExEr'
|
||||
user = User.new(:first_name => 'Joe', :last_name => 'Schmoe',
|
||||
:email => 'joe@schmoe.com', :password => password, :password_confirmation => password)
|
||||
password = "thi$ 1s cOmplExEr"
|
||||
user = User.new(first_name: "Joe", last_name: "Schmoe",
|
||||
email: "joe@schmoe.com", password: password, password_confirmation: password)
|
||||
def user.clear_password
|
||||
'thi$ 1s cOmplExEr'
|
||||
"thi$ 1s cOmplExEr"
|
||||
end
|
||||
user.save!
|
||||
user
|
||||
|
||||
Reference in New Issue
Block a user