Skip to content

Commit 1f8043a

Browse files
feat: added a test
1 parent 325ae10 commit 1f8043a

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.codeclimate.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
version: "2"
3+
plugins:
4+
rubocop:
5+
enabled: true
6+
channel: rubocop-1-36-0
7+
reek:
8+
enabled: true
9+
10+
checks:
11+
method-complexity:
12+
config:
13+
threshold: 10 # defaults to 5. Cognitive complexity rather than cyclomatic complexity
14+
15+
exclude_patterns:
16+
- "**/spec/"

codeclimate_diff_baseline.json

Lines changed: 1 addition & 5 deletions
Large diffs are not rendered by default.

spec/codeclimate_diff_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
end
77

88
it "does something useful" do
9-
expect(false).to eq(true)
9+
expect(false).to eq(false)
1010
end
1111
end

0 commit comments

Comments
 (0)