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.91 spec/support/shared.rb
RubyApp-0.0.90 spec/support/shared.rb
RubyApp-0.0.89 spec/support/shared.rb
RubyApp-0.0.88 spec/support/shared.rb
RubyApp-0.0.87 spec/support/shared.rb
RubyApp-0.0.86 spec/support/shared.rb
RubyApp-0.0.85 spec/support/shared.rb
RubyApp-0.0.84 spec/support/shared.rb
RubyApp-0.0.83 spec/support/shared.rb
RubyApp-0.0.82 spec/support/shared.rb
RubyApp-0.0.81 spec/support/shared.rb
RubyApp-0.0.80 spec/support/shared.rb
RubyApp-0.0.79 spec/support/shared.rb
RubyApp-0.0.78 spec/support/shared.rb
RubyApp-0.0.77 spec/support/shared.rb
RubyApp-0.0.76 spec/support/shared.rb
RubyApp-0.0.75 spec/support/shared.rb
RubyApp-0.0.74 spec/support/shared.rb
RubyApp-0.0.73 spec/support/shared.rb
RubyApp-0.0.72 spec/support/shared.rb