Permalink
Browse files

Fix issue #378 Rspec integration names file '.yml' when using rspec o…

…ne line syntax
  • Loading branch information...
1 parent a4d2c3f commit 3e8633358c65ce704959df88b3647a10ae1550c9 @jspooner committed Jan 23, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vcr/test_frameworks/rspec.rb
@@ -11,7 +11,7 @@ def configure!
description = metadata[:description]
if example_group = metadata[:example_group]
- [vcr_cassette_name_for[example_group], description].join('/')
+ [vcr_cassette_name_for[example_group], description].reject{|elem| elem.nil? || elem.strip.empty? }.join('/')
else
description
end

0 comments on commit 3e86333

Please sign in to comment.