features/step_definitions/folders.rb in luislavena-rake-compiler-0.5.0 vs features/step_definitions/folders.rb in luislavena-rake-compiler-0.6.0
- old
+ new
@@ -26,7 +26,7 @@
Then /^'(.*)' folder do not exist$/ do |folder|
File.directory?(folder).should_not be_true
end
Then /^no left over from '(.*)' remains in '(.*)'$/ do |name, folder|
- Dir.glob("#{folder}/**/#{name}").should be_empty
+ Dir.glob("#{folder}/**/#{name}/#{RUBY_VERSION}").should be_empty
end