Using 1.8-compatible hash syntax
This commit is contained in:
parent
948160aab6
commit
5e58b82ca1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue