Sha256: de2bb751d4c4e136ee452cb8403215d83ef360305504ed1f2ef6847c4a549586
Contents?: true
Size: 847 Bytes
Versions: 17
Compression:
Stored size: 847 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'capybara/rspec' require 'beanstalkd_view' require "rails_helper" # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[File.dirname(__FILE__)+"/support/**/*.rb"].each do |f| require f end #Capybara.default_driver = :selenium RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run_excluding :requires_beanstalkd, :requires_two_beanstalkd config.before(:each) do requires_two_beanstalkd = example.options[:requires_two_beanstalkd] if requires_two_beanstalkd ENV['BEANSTALK_URL'] = 'beanstalk://localhost:11300,beanstalk://localhost:11400' else ENV['BEANSTALK_URL'] = 'beanstalk://localhost:11300' end end end
Version data entries
17 entries across 17 versions & 1 rubygems