Sha256: 34047278aa6ae7f697f249a2dec53228a97bd7915606715cc70cd6ceb006ecc9

Contents?: true

Size: 432 Bytes

Versions: 5

Compression:

Stored size: 432 Bytes

Contents

require 'open3'

unless File.exists?("./node_modules")
  # Run npm install to make sure we get all needed node modules
  puts "* Running npm install"
  Open3.popen3('npm install') do |stdin, stdout, stderr, wait_thr|
    fail "Error running 'npm install': #{stderr.read}" unless wait_thr.value.success?
  end
end

require 'bundler'
require 'simplecov'
require 'rack/test'
SimpleCov.add_filter "spec"
SimpleCov.start

Bundler.require

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
snowball-0.1.22 spec/spec_helper.rb
snowball-0.1.21 spec/spec_helper.rb
snowball-0.1.20 spec/spec_helper.rb
snowball-0.1.9 spec/spec_helper.rb
snowball-0.1.8 spec/spec_helper.rb