Sha256: 6a725d097ff42db1b42a4e444fb58c2cb35fd4584c4b26eefb90320101018795
Contents?: true
Size: 766 Bytes
Versions: 2
Compression:
Stored size: 766 Bytes
Contents
require "specinfra/version" require "specinfra/helper" require "specinfra/backend" require "specinfra/configuration" include SpecInfra module SpecInfra class << self def configuration SpecInfra::Configuration end end end if defined?(RSpec) RSpec.configure do |c| c.include(SpecInfra::Helper::Configuration) c.add_setting :os, :default => nil c.add_setting :host, :default => nil c.add_setting :ssh, :default => nil c.add_setting :sudo_password, :default => nil c.add_setting :winrm, :default => nil SpecInfra.configuration.defaults.each { |k, v| c.add_setting k, :default => v } c.before :each do backend.set_example(example) if defined?(SPEC_TYPE) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
specinfra-0.0.5 | lib/specinfra.rb |
specinfra-0.0.4 | lib/specinfra.rb |