Skip to content

Commit 7a37131

Browse files
committed
Add more general feature test to guard against warning regressions
1 parent c1c9395 commit 7a37131

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

features/warnings.feature

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@rspec
2+
Feature:
3+
4+
Running SimpleCov with verbosity enabled does not yield warnings.
5+
6+
Background:
7+
Given I'm working on the project "faked_project"
8+
9+
Scenario:
10+
Given SimpleCov for RSpec is configured with:
11+
"""
12+
require 'simplecov'
13+
SimpleCov.start
14+
"""
15+
16+
When I successfully run `bundle exec rspec --warnings spec`
17+
Then a coverage report should have been generated
18+
And the output should not contain "warning"

0 commit comments

Comments
 (0)