From 260f6419398b7fa1ec2d9fca73b88a3014ce6172 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Sat, 17 Nov 2012 22:47:21 -0600 Subject: [PATCH] * adding required params to music_session for facotry girl --- spec/factories.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/factories.rb b/spec/factories.rb index 9021a075a..6c5bac31c 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -4,6 +4,7 @@ FactoryGirl.define do password "foobar" password_confirmation "foobar" + factory :admin do admin true end @@ -11,6 +12,10 @@ FactoryGirl.define do factory :music_session, :class => JamRuby::MusicSession do sequence(:description) { |n| "Jam Session #{n}" } + fan_chat true + fan_access true + approval_required false + musician_access true end factory :connection, :class => JamRuby::Connection do