Sha256: f6dcc071be047659b32584faa24ed8b609eb48aa2b4dee4f4d804429d4213637
Contents?: true
Size: 867 Bytes
Versions: 8
Compression:
Stored size: 867 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'ruby_app' require '_APPLICATION_DOWNCODE_' shared_context 'application' do before(:all) do RubyApp::Configuration.load!([ File.join(RubyApp::ROOT, %w[configuration.yml]), File.join(_APPLICATION_UPCODE_::ROOT, %w[configuration.yml])]) RubyApp::Log.open! RubyApp::Application.create! end after(:all) do RubyApp::Application.destroy! RubyApp::Log.close! RubyApp::Configuration.unload! end end shared_context 'request' do include_context 'application' before(:each) do RubyApp::Request.create! RubyApp::Response.create! RubyApp::Language.load! RubyApp::Session.load! end after(:each) do RubyApp::Session.unload! RubyApp::Language.unload! RubyApp::Response.destroy! RubyApp::Request.destroy! end end
Version data entries
8 entries across 8 versions & 1 rubygems