Sha256: dc8b5f3174ed6ff7ef6d08c598be36c8e3a69f68f78ad8d9ef7df934bba4f0cd

Contents?: true

Size: 371 Bytes

Versions: 12

Compression:

Stored size: 371 Bytes

Contents

require 'test_server/server'

TestServer::Server.before_run do
  With.options[:line] = nil
  OptionParser.new do |o|
    o.on('-l', '--line=LINE') { |line| With.options[:line] = line }
  end.parse!(argv)
  
  blueprints = Dir[File.dirname(__FILE__) + "/../blueprints/**/*.rb"]
  blueprints.each{|path| load path }
end

TestServer::Server.after_run do
  With.reset_all
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
adva-0.2.4 test/test_helper/test_server/init.rb
adva-0.2.3 test/test_helper/test_server/init.rb
adva-0.2.2 test/test_helper/test_server/init.rb
adva-0.2.1 test/test_helper/test_server/init.rb
adva-0.2.0 test/test_helper/test_server/init.rb
adva-0.1.4 test/test_helper/test_server/init.rb
adva-0.1.3 test/test_helper/test_server/init.rb
adva-0.1.2 test/test_helper/test_server/init.rb
adva-0.1.1 test/test_helper/test_server/init.rb
adva-0.1.0 test/test_helper/test_server/init.rb
adva_cms-0.0.1 test/test_helper/test_server/init.rb
adva-0.0.1 adva_cms/test/test_helper/test_server/init.rb