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.71 spec/support/shared.rb
RubyApp-0.0.70 spec/support/shared.rb
RubyApp-0.0.69 spec/support/shared.rb
RubyApp-0.0.68 spec/support/shared.rb
RubyApp-0.0.64 spec/support/shared.rb
RubyApp-0.0.63 spec/support/shared.rb
RubyApp-0.0.62 spec/support/shared.rb
RubyApp-0.0.61 spec/support/shared.rb
RubyApp-0.0.60 spec/support/shared.rb
RubyApp-0.0.59 spec/support/shared.rb
RubyApp-0.0.58 spec/support/shared.rb
RubyApp-0.0.57 spec/support/shared.rb
RubyApp-0.0.56 spec/support/shared.rb
RubyApp-0.0.55 spec/support/shared.rb
RubyApp-0.0.54 spec/support/shared.rb
RubyApp-0.0.53 spec/support/shared.rb
RubyApp-0.0.52 spec/support/shared.rb
RubyApp-0.0.51 spec/support/shared.rb
RubyApp-0.0.50 spec/support/shared.rb
RubyApp-0.0.49 spec/support/shared.rb