Commit a21fab7a90507411f9a8d5c4a52472ec0d7b2303
1 parent
02d4148b
Exists in
master
and in
1 other branch
gtalk now has more functionality
Showing
1 changed file
with
7 additions
and
1 deletions
Show diff stats
spec/fabricators/notification_service_fabricator.rb
... | ... | @@ -5,6 +5,12 @@ Fabricator :notification_service do |
5 | 5 | subdomain { sequence :word } |
6 | 6 | end |
7 | 7 | |
8 | -%w(campfire gtalk hipchat hoiio pushover hubot).each do |t| | |
8 | +Fabricator :gtalk_notification_service, :from => :notification_service, :class_name => "NotificationService::GtalkService" do | |
9 | + user_id { sequence :word } | |
10 | + service_url { sequence :word } | |
11 | + service { sequence :word } | |
12 | +end | |
13 | + | |
14 | +%w(campfire hipchat hoiio pushover hubot).each do |t| | |
9 | 15 | Fabricator "#{t}_notification_service".to_sym, :from => :notification_service, :class_name => "NotificationService::#{t.camelcase}Service" |
10 | 16 | end | ... | ... |