spec/spec_helper.rb in shortcode-0.1.0 vs spec/spec_helper.rb in shortcode-0.1.1
- old
+ new
@@ -1,7 +1,9 @@
$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"
@@ -9,10 +11,10 @@
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]
+ config.block_tags = [:quote, :collapsible_list, :item, :timeline_person, :rails_helper]
config.self_closing_tags = [:timeline_event, :timeline_info]
end
end
end