Sha256: 79e29bfb36c905bcd8539fa9dda22d4170f93fd7983d941c5e6dc4fb1adece9f

Contents?: true

Size: 591 Bytes

Versions: 3

Compression:

Stored size: 591 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.block_tags = [:quote, :collapsible_list, :item, :timeline_person, :rails_helper]
      config.self_closing_tags = [:timeline_event, :timeline_info]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shortcode-0.2.0 spec/spec_helper.rb
shortcode-0.1.2 spec/spec_helper.rb
shortcode-0.1.1 spec/spec_helper.rb