specs/model.rb in gecoder-0.9.0 vs specs/model.rb in gecoder-0.9.1

- old
+ new

@@ -1,8 +1,8 @@ require File.dirname(__FILE__) + '/spec_helper' -describe Gecode::Model, ' (integer creation)' do +describe Gecode::Mixin, ' (integer creation)' do before do @model = Gecode::Model.new end it 'should allow the creation of int variables with range' do @@ -99,11 +99,11 @@ GC.start end.should_not raise_error end end -describe Gecode::Model, ' (bool creation)' do +describe Gecode::Mixin, ' (bool creation)' do before do @model = Gecode::Model.new end it 'should allow the creation of boolean variables' do @@ -126,11 +126,11 @@ GC.start end.should_not raise_error end end -describe Gecode::Model, ' (set creation)' do +describe Gecode::Mixin, ' (set creation)' do before do @model = Gecode::Model.new @glb_range = 0..3 @lub_range = 0..5 @glb_enum = [0, 3] @@ -247,11 +247,11 @@ GC.start end.should_not raise_error end end -describe Gecode::Model, ' (space access restriction)' do +describe Gecode::Mixin, ' (space access restriction)' do before do @model = Gecode::Model.new end it 'should raise error if not allowed to access space' do @@ -265,10 +265,10 @@ end end.should_not raise_error(RuntimeError) end end -describe Gecode::Model, ' (accessible variable creation)' do +describe Gecode::Mixin, ' (accessible variable creation)' do before do @model = Class.new(Gecode::Model).new end it 'should allow creation of named variable using #foo_is_a' do