Sha256: f236588560729bc77485936df9d3b3356f653f6c0ca6ee90f358f3ee90b1637b
Contents?: true
Size: 961 Bytes
Versions: 3
Compression:
Stored size: 961 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 = 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
axlsx_rails-0.4.0 | spec/spec_helper.rb |
axlsx_rails-0.3.0 | spec/spec_helper.rb |
axlsx_rails-0.2.1 | spec/spec_helper.rb |