From 5e58b82ca10417a814775e355fe1b660fb5ba249 Mon Sep 17 00:00:00 2001 From: Jeff Casimir Date: Wed, 30 Nov 2011 11:31:23 -0500 Subject: [PATCH] Using 1.8-compatible hash syntax --- lib/draper/rspec_integration.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/draper/rspec_integration.rb b/lib/draper/rspec_integration.rb index 0a6bc63..96ed6df 100644 --- a/lib/draper/rspec_integration.rb +++ b/lib/draper/rspec_integration.rb @@ -6,8 +6,8 @@ module Draper RSpec.configure do |config| # Automatically tag specs in specs/decorators as type: :decorator - config.include Draper::DecoratorExampleGroup, type: :decorator, example_group: { - file_path: /spec[\\\/]decorators/ + config.include Draper::DecoratorExampleGroup, :type => :decorator, :example_group => { + :file_path => /spec[\\\/]decorators/ } # Specs tagged type: :decorator set the Draper view context