specs/constraints/int_domain.rb in gecoder-0.6.0 vs specs/constraints/int_domain.rb in gecoder-0.6.1

- old
+ new

@@ -17,14 +17,16 @@ @expect_options = lambda do |strength, reif_var| @model.allow_space_access do if reif_var.nil? Gecode::Raw.should_receive(:dom).once.with( an_instance_of(Gecode::Raw::Space), - @x.bind, an_instance_of(Gecode::Raw::IntSet), strength) + an_instance_of(Gecode::Raw::IntVar), + an_instance_of(Gecode::Raw::IntSet), strength) else Gecode::Raw.should_receive(:dom).once.with( an_instance_of(Gecode::Raw::Space), - @x.bind, an_instance_of(Gecode::Raw::IntSet), + an_instance_of(Gecode::Raw::IntVar), + an_instance_of(Gecode::Raw::IntSet), an_instance_of(Gecode::Raw::BoolVar), strength) end end end end \ No newline at end of file