Sha256: d2eaae54d5c8d315fa194f8308fdf4a7b4a138b465f9768522c5da4a09f8ee4d
Contents?: true
Size: 897 Bytes
Versions: 3
Compression:
Stored size: 897 Bytes
Contents
require 'rubygems' # Configure Rails Environment ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../dummy/config/environment", __FILE__) require 'rspec/rails' require 'capybara/rspec' require 'capybara-screenshot/rspec' Capybara::Screenshot.autosave_on_failure = false Rails.backtrace_cleaner.remove_silencers! RSpec.configure do |config| config.mock_with :rspec config.filter_run :focus => true config.run_all_when_everything_filtered = true end # set javascript driver for capybara require 'capybara/poltergeist' Capybara.javascript_driver = :poltergeist # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories including factories. ([Rails.root.to_s] | ::Refinery::Plugins.registered.pathnames).map{|p| Dir[File.join(p, 'spec', 'support', '**', '*.rb').to_s] }.flatten.sort.each do |support_file| require support_file end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
refinerycms-photo-gallery-0.3.0 | spec/spec_helper.rb |
refinerycms-contacts-0.2.0 | spec/spec_helper.rb |
refinerycms-photo-gallery-0.2.0 | spec/spec_helper.rb |