spec/factories/cylon.rb in mailboxer-0.6.2 vs spec/factories/cylon.rb in mailboxer-0.6.3

- old
+ new

@@ -1,4 +1,10 @@ -Factory.define :cylon do |c| - c.sequence(:name) { |n| "Cylon #{ n }" } - c.sequence(:email) { |n| "cylon#{ n }@cylon.com" } +FactoryGirl.define do + factory :cylon do + sequence :name do |n| + "Cylon #{ n }" + end + sequence :email do |n| + "cylon#{ n }@cylon.com" + end + end end