Add rspec and request tests
This commit is contained in:
6
spec/factories/users.rb
Normal file
6
spec/factories/users.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory :user do
|
||||
sequence(:username) { |n| "test-#{n.to_s.rjust(3, "0")}@sample.com" }
|
||||
password { "12345678" }
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user