spec/spec_helper.rb in shortcode-1.1.1 vs spec/spec_helper.rb in shortcode-1.2.0

- old
+ new

@@ -14,19 +14,21 @@ # Set slim's attribute quotes to use single quotes so it's the same as haml Slim::Engine.set_options attr_quote: "'" RSpec.configure do |config| config.order = "random" + config.color = true config.before(:each) do - Shortcode::Presenter.presenters = {} Shortcode.setup do |config| config.template_parser = :erb config.template_path = File.join File.dirname(__FILE__), "support/templates/erb" - config.templates = nil + config.templates = {} + config.check_config_templates_first = true config.block_tags = [:quote, :collapsible_list, :item, :timeline_person, :rails_helper, :custom_helper] config.self_closing_tags = [:timeline_event, :timeline_info] config.attribute_quote_type = '"' config.use_attribute_quotes = true + config.presenters = {} end end end