Sha256: e241fee24b4b44f7ca28547c9f30d34636e6e85cf7d7bd50cd4f6fbf9ef29d25
Contents?: true
Size: 339 Bytes
Versions: 2
Compression:
Stored size: 339 Bytes
Contents
#!/usr/bin/env ruby ENV["RAILS_ENV"] = "test" require "pathname" require Pathname.new(Dir.pwd).join("config/environment") require "cypress-rails" 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cypress-rails-0.0.4 | exe/cypress-rails |
cypress-rails-0.0.3 | exe/cypress-rails |