Sha256: 13a6f67128d6a6c735aa447b4e549cc9198a4c356b0c8925aba8419d5f40c34d

Contents?: true

Size: 446 Bytes

Versions: 5

Compression:

Stored size: 446 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.setup do |config|
      config.partials_folder = "blocks"
      config.wrap_before_and_after_blocks = false
      config.use_partials = false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blocks-2.8.0 spec/spec_helper.rb
blocks-2.7.0 spec/spec_helper.rb
blocks-2.6.4 spec/spec_helper.rb
blocks-2.6.3 spec/spec_helper.rb
blocks-2.6.0 spec/spec_helper.rb