spec/config_spec.rb in schema_dev-0.1.6 vs spec/config_spec.rb in schema_dev-1.0.0
- old
+ new
@@ -1,17 +1,7 @@
describe SchemaDev::Config do
- it "computes matrix without db" do
- config = get_config(ruby: %W[1.9.3 2.1.5], rails: %W[4.0 4.1])
- expect(config.matrix).to match_array [
- { ruby: "1.9.3", rails: "4.0" },
- { ruby: "1.9.3", rails: "4.1" },
- { ruby: "2.1.5", rails: "4.0" },
- { ruby: "2.1.5", rails: "4.1" },
- ]
- end
-
- it "computes matrix with db" do
+ it "computes matrix" 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).to match_array [
{ ruby: "1.9.3", rails: "4.0", db: "sqlite3" },
{ ruby: "1.9.3", rails: "4.0", db: "postgresql" },
{ ruby: "1.9.3", rails: "4.1", db: "sqlite3" },