spec/config_spec.rb in schema_dev-1.2.5 vs spec/config_spec.rb in schema_dev-1.3.0
- old
+ new
@@ -47,7 +47,15 @@
{ ruby: "2.1.5", rails: "4.0", db: "postgresql" },
#{ ruby: "2.1.5", rails: "4.1", db: "sqlite3" },
{ ruby: "2.1.5", rails: "4.1", db: "postgresql" },
]
end
+
+ it "uses last cell for --quick" do
+ config = get_config(ruby: %W[1.9.3 2.1.5], rails: %W[4.0 4.1], db: %W[sqlite3 postgresql])
+ expect(config.matrix quick: true).to match_array [
+ { ruby: "2.1.5", rails: "4.1", db: "postgresql" },
+ ]
+ end
+
end