spec/grape/dsl/configuration_spec.rb in grape-0.11.0 vs spec/grape/dsl/configuration_spec.rb in grape-0.12.0
- old
+ new
@@ -45,11 +45,11 @@
},
XOptionalHeader: {
description: 'Not really needed',
required: false
}
- ]
+ ]
}
subject.desc 'The description' do
detail 'more details'
params(first: :param)
@@ -62,10 +62,10 @@
},
XOptionalHeader: {
description: 'Not really needed',
required: false
}
- ]
+ ]
end
expect(subject.namespace_setting(:description)).to eq(expected_options)
expect(subject.route_setting(:description)).to eq(expected_options)
end