Sha256: 9bcc9c135620a989681401d03c32c42dfb0fc682a70abd3eaeb9888b4f772e9e
Contents?: true
Size: 691 Bytes
Versions: 8
Compression:
Stored size: 691 Bytes
Contents
require 'ruby_app' shared_context 'application' do before(:all) do RubyApp::Configuration.load!([File.join(RubyApp::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