class Contracto::RSpec::Core
Public Class Methods
new(options)
click to toggle source
# File lib/contracto/rspec/core.rb, line 5 def initialize(options) @git_url = options.fetch(:git) start! end
Private Instance Methods
add_modules_to_rspec()
click to toggle source
# File lib/contracto/rspec/core.rb, line 21 def add_modules_to_rspec require_relative 'server_terminator' require_relative 'json_helper' end
start!()
click to toggle source
# File lib/contracto/rspec/core.rb, line 12 def start! add_modules_to_rspec start_server end
start_server()
click to toggle source
# File lib/contracto/rspec/core.rb, line 17 def start_server Contracto::Command.run('start', [@git_url]) end