Sha256: 3c4b877b312c36ab322c6ba929f253465b471b413b7e26e5f4ca71bc0e537430
Contents?: true
Size: 581 Bytes
Versions: 4
Compression:
Stored size: 581 Bytes
Contents
ENV["RUBY_ENV"] = "test" $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'konstant' require "byebug" Mail.defaults do delivery_method :test end RSpec.configure do |config| config.before :each do |example| Konstant.logger = Logger.new("/dev/null") Konstant.reset_config Konstant.configure "#{Konstant.root}/data/templates/data_dir/konstant.js" Konstant.configure "data_dir" => "#{Konstant.root}/tmp/test_data" Konstant.reset_data_dir if example.metadata[:fixture_projects] Konstant.copy_fixture_projects end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
konstant-0.1.2 | spec/spec_helper.rb |
konstant-0.1.1 | spec/spec_helper.rb |
konstant-0.1.0 | spec/spec_helper.rb |
konstant-0.0.10 | spec/spec_helper.rb |