spec/support/factories/cluster_factory.rb in big_brother-0.3.0 vs spec/support/factories/cluster_factory.rb in big_brother-0.3.1
- old
+ new
@@ -4,10 +4,10 @@
overrides.fetch(:name, 'test'),
{
'fwmark' => overrides.fetch(:fwmark, 100),
'scheduler' => overrides.fetch(:scheduler, 'wrr'),
'check_interval' => overrides.fetch(:check_interval, 1),
- 'nodes' => overrides.fetch(:nodes, [])
+ 'nodes' => overrides.fetch(:nodes, [Factory.node])
}
)
end
end