First tests in rspec, with factory_girl

This commit is contained in:
Henne Vogelsang 2014-04-09 01:32:47 +02:00
parent accd7d1a58
commit e3fd0c195a
11 changed files with 131 additions and 19 deletions

View file

@ -34,4 +34,12 @@ RSpec.configure do |config|
# the seed, which is printed after each run.
# --seed 1234
config.order = "random"
# Include factory_girls syntax
config.include FactoryGirl::Syntax::Methods
# As we start from scratch in April 2014, let's forbid the old :should syntax
config.expect_with :rspec do |c|
c.syntax = :expect
end
end