Sha256: 0aeccba26f43ec84e3d6efca68ca00529aa8855a1ca97b344fd015a5faf7540c
Contents?: true
Size: 360 Bytes
Versions: 6
Compression:
Stored size: 360 Bytes
Contents
#!/usr/bin/env ruby ENV["RAILS_ENV"] = "test" require "pathname" require "cypress-rails" require Pathname.new(CypressRails::Config.new.dir).join("config/environment") command = ARGV[0] case command when "init" CypressRails::Init.new.call when "open" CypressRails::Open.new.call when "run" passed = CypressRails::Run.new.call exit 1 unless passed end
Version data entries
6 entries across 6 versions & 1 rubygems