Files
nairobi/spec/models/budget/group_spec.rb
Bertocq 73e0a5a88d Add to Budget Budget::Heading Budget::Group specs the sluggable shared example
Why:

* Those classes have a slug attribute that needs to be filled

How:

* Just adding the shared example to Budget model spec, and creating the model spec file for Heading and Group to include it as well
2017-07-04 18:40:54 +02:00

8 lines
86 B
Ruby

require 'rails_helper'
describe Budget::Group do
it_behaves_like "sluggable"
end