Using 1.8-compatible hash syntax

This commit is contained in:
Jeff Casimir 2011-11-30 11:31:23 -05:00
parent 948160aab6
commit 5e58b82ca1
1 changed files with 2 additions and 2 deletions

View File

@ -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