Refactor factory girl usage in specs

This commit is contained in:
Thibault Jouan
2015-05-01 15:21:41 +00:00
parent 3247dd0934
commit 00fe9bf258
9 changed files with 17 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
feature 'User sign up' do
let(:user) { FactoryGirl.build(:user) }
let(:user) { build :user }
background do
visit new_user_path