Sha256: a1e11f8cae432d7d13a6e2b0f08bfe9bc52a8bd5f5606b3307c197736a93ae4e
Contents?: true
Size: 894 Bytes
Versions: 5
Compression:
Stored size: 894 Bytes
Contents
SPEC_ROOT = File.expand_path('..', __FILE__) require 'givey_ruby' require 'factory_girl' require 'log_buddy' require 'json' require "#{SPEC_ROOT}/factories.rb" Dir["#{SPEC_ROOT}/support/**/*.rb"].each { |file| require file } # autoload models #Dir["spec/models/*.rb"].each do |file| # autoload File.basename(file, ".rb").titleize.to_sym, "models/#{File.basename(file, ".#rb")}" #end RSpec.configure do |config| require 'rspec/expectations' config.include RSpec::Matchers config.include FactoryGirl::Syntax::Methods # only run specs tagged with focus id any are tagged config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run :focus => true config.run_all_when_everything_filtered = true config.before(:each) do end config.after(:each) do Dir.glob("#{SPEC_ROOT}/tmp/*").each {|f| File.delete(f) } end config.after(:all) do end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
givey_ruby-0.0.6 | spec/spec_helper.rb |
givey_ruby-0.0.5 | spec/spec_helper.rb |
givey_ruby-0.0.3 | spec/spec_helper.rb |
givey_ruby-0.0.2 | spec/spec_helper.rb |
givey_ruby-0.0.1 | spec/spec_helper.rb |