Sha256: 1619929df93adde1122ec0eb3f0f9f9425e73e332520384693746fb98e1c5305
Contents?: true
Size: 969 Bytes
Versions: 1
Compression:
Stored size: 969 Bytes
Contents
require 'coveralls' Coveralls.wear! # This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] = 'test' if ENV['RAILS_VERSION'] =~ /^4/ puts "Testing Rails 4" require File.expand_path("../dummy_4/config/environment", __FILE__) else puts "Testing Rails 3" require File.expand_path("../dummy/config/environment", __FILE__) end require 'bundler' require 'bundler/setup' require 'rspec/rails' require 'rspec/autorun' require 'capybara/rspec' require 'axlsx_rails' require 'acts_as_xlsx' require 'roo' require 'pry' Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} RSpec.configure do |config| config.color_enabled = true config.formatter = 'documentation' config.use_transactional_fixtures = false config.infer_base_class_for_anonymous_controllers = false config.order = "random" end module ::RSpec::Core class ExampleGroup include Capybara::DSL include Capybara::RSpecMatchers end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axlsx_rails-0.2.0 | spec/spec_helper.rb |