Skip to content

Commit d050c4f

Browse files
committed
Prefer && over and for conditionals.
1 parent c277398 commit d050c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vcr/test_frameworks/rspec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def configure!
1111
description = metadata[:description]
1212
example_group = metadata[:parent_example_group] || metadata[:example_group]
1313

14-
if example_group and example_group.any?
14+
if example_group && example_group.any?
1515
[vcr_cassette_name_for[example_group], description].join('/')
1616
else
1717
description

0 commit comments

Comments
 (0)