Sha256: 4bb16778d3d69d26851da3bee3999d704321cfd702faf605cb05ee377fe2ecf3

Contents?: true

Size: 417 Bytes

Versions: 70

Compression:

Stored size: 417 Bytes

Contents

require 'ruby_app/application'

shared_context 'RubyApp::Application' do

  before(:all) do
    RubyApp::Application.create!
  end

  after(:all) do
    RubyApp::Application.destroy!
  end

end

require 'ruby_app/request'

shared_context 'RubyApp::Request' do
  include_context 'RubyApp::Application'

  before(:each) do
    RubyApp::Request.create!
  end

  after(:each) do
    RubyApp::Request.destroy!
  end

end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
RubyApp-0.0.18 spec/support/shared.rb
RubyApp-0.0.17 spec/support/shared.rb
RubyApp-0.0.16 spec/support/shared.rb
RubyApp-0.0.15 spec/support/shared.rb
RubyApp-0.0.14 spec/support/shared.rb
RubyApp-0.0.13 spec/support/shared.rb
RubyApp-0.0.12 spec/support/shared.rb
RubyApp-0.0.11 spec/support/shared.rb
RubyApp-0.0.10 spec/support/shared.rb
RubyApp-0.0.9 spec/support/shared.rb