Sha256: 5d65ad9a233222694190d6291fe071c296177f7a2fed0246a80d3cfd89f4482c
Contents?: true
Size: 622 Bytes
Versions: 2
Compression:
Stored size: 622 Bytes
Contents
require 'simplecov' SimpleCov.start do add_filter "/rails/" end # prepare ENV for rails require 'rails' ENV['RAILS_ROOT'] = File.expand_path("../rails/rails-#{Rails::VERSION::STRING}", __FILE__) # ensure testing application is in place unless File.exists?(ENV['RAILS_ROOT']) puts "Please run bundle exec rake setup before running the specs." exit end # load up activeadmin and activeadmin-axlsx require 'activeadmin-axlsx' ActiveAdmin.application.load_paths = [ENV['RAILS_ROOT'] + "/app/admin"] # start up rails require ENV['RAILS_ROOT'] + '/config/environment' # and finally,here's rspec require 'rspec/rails'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-axlsx-2.0.1 | spec/spec_helper.rb |
activeadmin-axlsx-2.0.0 | spec/spec_helper.rb |