mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 13:38:24 -04:00
Fixed array indentation
This commit is contained in:
@@ -303,12 +303,6 @@ Rails/Validation:
|
||||
- 'app/models/member.rb'
|
||||
- 'app/models/order_item.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Style/AlignArray:
|
||||
Exclude:
|
||||
- 'spec/models/planting_spec.rb'
|
||||
|
||||
# Offense count: 93
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
|
||||
|
||||
@@ -152,8 +152,8 @@ describe Planting do
|
||||
|
||||
it 'all valid planted_from values should work' do
|
||||
['seed', 'seedling', 'cutting', 'root division',
|
||||
'runner', 'bare root plant', 'advanced plant',
|
||||
'graft', 'layering', 'bulb', 'root/tuber', nil, ''].each do |p|
|
||||
'runner', 'bare root plant', 'advanced plant',
|
||||
'graft', 'layering', 'bulb', 'root/tuber', nil, ''].each do |p|
|
||||
@planting = FactoryGirl.build(:planting, planted_from: p)
|
||||
@planting.should be_valid
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user