1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/spec/spec_helper.rb
2011-08-10 14:01:22 +01:00

25 lines
No EOL
426 B
Ruby

require 'rubygems'
require 'bundler'
require 'rspec'
begin
require 'cover_me'
rescue LoadError
# Silently fail
end
require './spec/samples/application_helper.rb'
Bundler.require
Dir.glob('./spec/samples/*') {|file| require file}
require 'active_support'
require 'action_view'
require 'bundler/setup'
require 'draper'
Dir["spec/support/**/*.rb"].each do |file|
require "./" + file
end
RSpec.configure do |config|
end