Sha256: 97e1bddd4531483dcdad467365cf90bcca512c651665616e01e4ca7b801dbcdb

Contents?: true

Size: 338 Bytes

Versions: 7

Compression:

Stored size: 338 Bytes

Contents

class RSpec::Httpd::Config
  attr_accessor :host
  attr_accessor :port
  attr_accessor :command
  attr_accessor :logger

  def initialize
    self.host = "127.0.0.1"
    self.port = 12_345
    self.command = "bundle exec rackup -E test -p 12345"
    self.logger = Logger.new(STDERR).tap { |logger| logger.level = Logger::INFO }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rspec-httpd-0.3.5 lib/rspec/httpd/config.rb
rspec-httpd-0.3.4 lib/rspec/httpd/config.rb
rspec-httpd-0.3.2 lib/rspec/httpd/config.rb
rspec-httpd-0.3.1 lib/rspec/httpd/config.rb
rspec-httpd-0.3.0 lib/rspec/httpd/config.rb
rspec-httpd-0.1.0 lib/rspec/httpd/config.rb
rspec-httpd-0.0.17 lib/rspec/httpd/config.rb