OSDN Git Service

fix test for expansion generator
authorTomohiro Nishimura <tomohiro68@gmail.com>
Thu, 11 Mar 2010 13:32:55 +0000 (22:32 +0900)
committerTomohiro Nishimura <tomohiro68@gmail.com>
Thu, 11 Mar 2010 13:32:55 +0000 (22:32 +0900)
spec/generator/expansion_spec.rb

index 359840f..8106d3d 100644 (file)
@@ -22,6 +22,7 @@ module Mint::Generator
       before do
         options = {
           :order_min  => 2, :order_max  => 2,
+          :factor_min => 2, :factor_max => 2,
         }
         @problems = subject.generate(@defaults.merge(options))
       end
@@ -34,6 +35,7 @@ module Mint::Generator
       before do
         options = {
           :order_min  => 3, :order_max  => 3,
+          :factor_min => 2, :factor_max => 2,
         }
         @problems = subject.generate(@defaults.merge(options))
       end