Sha256: cb9f2a00861c0e684efabc4049e82e2b1f6171ca5b66a399bbfeab5749b5aba0
Contents?: true
Size: 362 Bytes
Versions: 13
Compression:
Stored size: 362 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
13 entries across 13 versions & 1 rubygems