ruby-watchr 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/watchr/rating.rb +2 -2
- data/lib/watchr/version.rb +1 -1
- data/spec/watchr/rating_spec.rb +2 -2
- metadata +2 -2
data/lib/watchr/rating.rb
CHANGED
data/lib/watchr/version.rb
CHANGED
data/spec/watchr/rating_spec.rb
CHANGED
@@ -6,13 +6,13 @@ describe Watchr::Rating do
|
|
6
6
|
let(:complexity_smell) {
|
7
7
|
stub('smell',
|
8
8
|
:type => Watchr::SmellTypes::COMPLEX_METHOD,
|
9
|
-
:options =>
|
9
|
+
:options => {:score => 29.3})
|
10
10
|
}
|
11
11
|
|
12
12
|
let(:duplication_smell) {
|
13
13
|
stub('smell',
|
14
14
|
:type => Watchr::SmellTypes::IDENTICAL_CODE,
|
15
|
-
:options =>
|
15
|
+
:options => {:mass => 72})
|
16
16
|
}
|
17
17
|
|
18
18
|
let(:smells) { [complexity_smell, duplication_smell] }
|