spec/reek/smells/data_clump_spec.rb in reek-3.11 vs spec/reek/smells/data_clump_spec.rb in reek-4.0.0.pre1
- old
+ new
@@ -47,11 +47,11 @@
it 'reports the declaration line numbers' do
expect(smells[0].lines).to eq([2, 3, 4])
end
- it 'reports the correct smell class' do
- expect(smells[0].smell_category).to eq(Reek::Smells::DataClump.smell_category)
+ it 'reports the correct smell type' do
+ expect(smells[0].smell_type).to eq(Reek::Smells::DataClump.smell_type)
end
it 'reports the context fq name' do
expect(smells[0].context).to eq(module_name)
end