Sha256: 8fa34e2f72008d60f950f7b5606d570c0906bf8226e92a99cc1f645da679cc1f

Contents?: true

Size: 264 Bytes

Versions: 3

Compression:

Stored size: 264 Bytes

Contents

class Rails
  def self.env
    'test'
  end

  def self.root
    Pathname.new(__FILE__).dirname.join('..', 'fixtures')
  end

  def self.application
    RailsFakeApp.new
  end

  class RailsFakeApp
    def self.parent_name
      'rails_fake_app'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rabbithole-0.0.3 spec/support/fake_rails.rb
rabbithole-0.0.2 spec/support/fake_rails.rb
rabbithole-0.0.1 spec/support/fake_rails.rb