spec/spec_helper.rb in stasis-0.1.16 vs spec/spec_helper.rb in stasis-0.1.17

- old
+ new

@@ -17,10 +17,10 @@ end end def generate_files pub = "#{$fixture}/public" - $files = Dir["#{pub}/**/*"].inject({}) do |hash, path| + $files = Dir.glob("#{pub}/**/*", File::FNM_DOTMATCH).inject({}) do |hash, path| if File.file?(path) hash[path[pub.length+1..-1]] = File.read(path) end hash end \ No newline at end of file