spec/helpers/spotlight/pages_helper_spec.rb in blacklight-spotlight-2.0.2 vs spec/helpers/spotlight/pages_helper_spec.rb in blacklight-spotlight-2.1.0

- old
+ new

@@ -75,9 +75,10 @@ end it 'returns a blank string if the type is not valid' do expect(helper.nestable_data_attributes('something_else')).to eq '' end end + describe 'nestable data attributes hash' do it 'returns the appropriate hash for feature pages' do expect(helper.nestable_data_attributes_hash('feature_pages')).to eq('data-max-depth' => '2', 'data-expand-btn-HTML' => '', 'data-collapse-btn-HTML' => '')