spec/acceptance/solutions_spec.rb in solve-1.2.1 vs spec/acceptance/solutions_spec.rb in solve-2.0.0
- old
+ new
@@ -1,7 +1,12 @@
require 'spec_helper'
-describe "Solutions" do
+describe "Solutions", :gecode do
+
+ before do
+ Solve.engine = :gecode
+ end
+
it "chooses the correct artifact for the demands" do
graph = Solve::Graph.new
graph.artifact("mysql", "2.0.0")
graph.artifact("mysql", "1.2.0")
graph.artifact("nginx", "1.0.0").depends("mysql", "= 1.2.0")