Skip to content

Commit

Permalink
Prefer && over and for conditionals.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed May 23, 2014
1 parent c277398 commit d050c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vcr/test_frameworks/rspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def configure!
description = metadata[:description]
example_group = metadata[:parent_example_group] || metadata[:example_group]

if example_group and example_group.any?
if example_group && example_group.any?
[vcr_cassette_name_for[example_group], description].join('/')
else
description
Expand Down

0 comments on commit d050c4f

Please sign in to comment.