Class: CypressRails::Run

Inherits:
Object
  • Object
show all
Defined in:
lib/cypress-rails/run.rb

Instance Method Summary collapse

Constructor Details

#initializeRun

Returns a new instance of Run.



6
7
8
# File 'lib/cypress-rails/run.rb', line 6

def initialize
  @launches_cypress = LaunchesCypress.new
end

Instance Method Details

#call(config = Config.new) ⇒ Object



10
11
12
# File 'lib/cypress-rails/run.rb', line 10

def call(config = Config.new)
  @launches_cypress.call("run", config)
end