Sha256: bb35dc13b13c1bddb1725bbc62f78fbcada95331e3b18bb4e1301e611fc1c26a
Contents?: true
Size: 898 Bytes
Versions: 1
Compression:
Stored size: 898 Bytes
Contents
$LOAD_PATH.unshift File.dirname(__FILE__) require 'coveralls' Coveralls.wear! require 'rspec' require 'rails' require 'action_view' require 'shortcode' require 'support/fixtures' require 'support/custom_expectations/write_expectation' # Set slim's attribute quotes to use single quotes so it's the same as haml Slim::Engine.set_default_options attr_quote: "'" RSpec.configure do |config| config.order = "random" config.before(:each) do Shortcode.presenters = {} Shortcode.setup do |config| config.template_parser = :haml config.parser_set = false 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.3 | spec/spec_helper.rb |