Some fixes to new code to make the test pass
This commit is contained in:
@@ -94,7 +94,7 @@ module Budgets
|
||||
|
||||
def set_random_seed
|
||||
if params[:order] == 'random' || params[:order].blank?
|
||||
params[:random_seed] ||= rand(9)
|
||||
params[:random_seed] ||= rand(1..9)
|
||||
else
|
||||
params[:random_seed] = nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user