Commit f5e38d8ac512000798f63e698994d98ee3600289

Authored by Rafael Manzo
Committed by Heitor
1 parent 7cc2fe68

Fix KalibroModule factory

Since kalibro_client v2.1.0 granlrty attribute has been renamed to
granularity.

Signed off by: Eduardo Araújo <duduktamg@hotmail.com>
Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
spec/factories/kalibro_modules.rb
1 FactoryGirl.define do 1 FactoryGirl.define do
2 factory :kalibro_module, class: KalibroClient::Entities::Processor::KalibroModule do 2 factory :kalibro_module, class: KalibroClient::Entities::Processor::KalibroModule do
3 name 'Qt-Calculator' 3 name 'Qt-Calculator'
4 - granlrty 'SOFTWARE' 4 + granularity 'SOFTWARE'
5 5
6 trait :package do 6 trait :package do
7 - granlrty 'PACKAGE' 7 + granularity 'PACKAGE'
8 end 8 end
9 9
10 trait :class do 10 trait :class do
11 - granlrty 'CLASS' 11 + granularity 'CLASS'
12 end 12 end
13 13
14 trait :function do 14 trait :function do
15 - granlrty 'FUNCTION' 15 + granularity 'FUNCTION'
16 end 16 end
17 17
18 trait :method do 18 trait :method do
19 - granlrty 'METHOD' 19 + granularity 'METHOD'
20 end 20 end
21 21
22 factory :kalibro_module_package, traits: [:package] 22 factory :kalibro_module_package, traits: [:package]