diff options
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/band_factory.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/band_factory.rb b/spec/support/band_factory.rb index f14caf2..4bf9a15 100644 --- a/spec/support/band_factory.rb +++ b/spec/support/band_factory.rb @@ -2,12 +2,13 @@ module BandFactory def create_band_params(options = {}) opts = { :songs => 1, + :name => 'Band name' }.merge(options) num_songs = opts.delete(:songs) params = { - 'name' => 'Imbalance', + 'name' => opts[:name], 'city' => 'Oslo', 'website' => 'http://imbalance.no', 'label' => 'Calculated Imperfection', |