Sha256: 51e5f3c56c92c82ad018992a0a5798aeeb2378317df6ea678ae6ab0f2fd9b384

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'ruby-debug'

require 'blocks' # and any other gems you need

def print_hash(hash)
  hash.inject("") { |s, (k, v)| "#{s} #{k}: #{v}." }
end

RSpec.configure do |config|
  config.mock_with :mocha
  
  config.before :each do
    Blocks.template_folder = "blocks"
    Blocks.wrap_with_surrounds_before_and_after_blocks = true
    Blocks.use_partials = false
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blocks-2.5.0 spec/spec_helper.rb