Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (25 sloc) 0.588 kB
require 'rspec'
require 'project-synch'
SPEC_DIR = File.dirname(__FILE__)
module Rails
def self.root
File.join SPEC_DIR, 'dummy-app'
end
end
require 'rails_config_loader'
require 'singleton'
def structure
App.instance
end
class App
include Singleton
include ConfigLoader::Delegator
def config
@config ||= load_hash 'project_structure.yml'
end
end
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|
end
Jump to Line
Something went wrong with that request. Please try again.