spec/hpack_test_spec.rb in http-2-0.8.2 vs spec/hpack_test_spec.rb in http-2-0.8.3
- old
+ new
@@ -22,10 +22,10 @@
context 'Decompressor' do
folders.each do |folder|
next if folder =~ /#/
path = File.expand_path("hpack-test-case/#{folder}", File.dirname(__FILE__))
next unless Dir.exist?(path)
- context "#{folder}" do
+ context folder.to_s do
Dir.foreach(path) do |file|
next if file !~ /\.json/
it "should decode #{file}" do
story = JSON.parse(File.read("#{path}/#{file}"))
cases = story['cases']