Sha256: a71746ebf2599de439f31d535a432371245f49c8b4fcf801807425bdf171d4f7
Contents?: true
Size: 891 Bytes
Versions: 1
Compression:
Stored size: 891 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'simplecov' require 'tmpdir' require 'ffaker' require 'capybara' require 'json' require 'capybara/dsl' SimpleCov.start do add_filter "/spec/" add_filter '/config/' add_filter do |source_file| source_file.lines.count < 5 end add_group "generators", "/generators" add_group "lib", "/lib" end Dir[File.join(File.dirname(__FILE__), 'support', '**', '*.rb')].each{ |f| require f } RSpec.configure do |config| config.include GeneratorHelper config.expect_with :rspec do |c| c.syntax = :expect end config.mock_with :rspec do |c| c.syntax = :expect end end def project_path File.expand_path(File.join(File.dirname(__FILE__), '..')) end def lib_path File.join(project_path, 'lib') end def generators_path File.join(project_path, 'generators') end def log_path File.join(project_path, 'spec/log') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
howitzer-1.0.1 | spec/spec_helper.rb |