require 'schema_dev/travis' describe SchemaDev::Travis do it "creates travis file" do config = get_config(ruby: %W[1.9.3 2.1.5], activerecord: %W[4.0 4.1], db: %W[mysql2 postgresql], exclude: { ruby: "1.9.3", db: "postgresql" }, notify: 'me@example.com') in_tmpdir do SchemaDev::Travis.update(config) expect(Pathname.new(".travis.yml").read).to eq <