Sha256: bcec7523b6082d528628a089bb2e3614880810e3c4e48875a3055890dfcc5a2e

Contents?: true

Size: 646 Bytes

Versions: 1

Compression:

Stored size: 646 Bytes

Contents

$LOAD_PATH.unshift File.dirname(__FILE__)
require 'rspec'
require 'rails'
require 'action_view'
require 'shortcode'
require 'support/fixtures'

RSpec.configure do |config|
  config.order = "random"

  config.before(:each) do
    Shortcode.presenters = {}
    Shortcode.setup do |config|
      config.template_parser = :haml
      config.template_path = File.join File.dirname(__FILE__), "support/templates/haml"
      config.templates = nil
      config.block_tags = [:quote, :collapsible_list, :item, :timeline_person, :rails_helper]
      config.self_closing_tags = [:timeline_event, :timeline_info]
      config.quotes = '"'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shortcode-0.3.0 spec/spec_helper.rb