From a38b3c89feae60237e0301ac12c4c219309d1bef Mon Sep 17 00:00:00 2001 From: zhuhao Date: Sat, 24 Jan 2015 10:36:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A2=84=E6=9E=84=E4=BB=B6?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E6=B5=8B=E8=AF=95=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/factories/users.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 spec/factories/users.rb diff --git a/spec/factories/users.rb b/spec/factories/users.rb new file mode 100644 index 000000000..369e60f48 --- /dev/null +++ b/spec/factories/users.rb @@ -0,0 +1,10 @@ +require 'faker' + +FactoryGirl.define do + factory :user do + login "ExampleUser" + mail "user@example.com" + password "foobar" + password_confirmation "foobar" + end +end \ No newline at end of file