uses FactoryGirl helpers
This commit is contained in:
parent
1cf2145ff6
commit
f462e70e49
17 changed files with 65 additions and 63 deletions
4
spec/support/factory_girl.rb
Normal file
4
spec/support/factory_girl.rb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
RSpec.configure do |config|
|
||||
# load FactoryGirl shortcuts create(), etc.
|
||||
config.include FactoryGirl::Syntax::Methods
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue