Permalink
Browse files

allow non lantin characters in filename, fix failure rspec usecase on…

… ruby1.9.3
  • Loading branch information...
1 parent 53e52cb commit 8d883bb87578c31b460aa6afac80267bd643fe37 @0x01f7 0x01f7 committed May 31, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/lib/vcr/cassette/persisters/file_system_spec.rb
@@ -62,8 +62,8 @@ class Persisters
expected = File.join(FileSystem.storage_location, "a_1/b")
expect(FileSystem.absolute_path_to_file("a 1/b")).to eq(expected)
- expected = File.join(FileSystem.storage_location, "萬國碼")
- expect(FileSystem.absolute_path_to_file("萬國碼")).to eq(expected)
+ expected = File.join(FileSystem.storage_location, "\u842c\u570b\u78bc")
+ expect(FileSystem.absolute_path_to_file("\u842c\u570b\u78bc")).to eq(expected)
end
it 'handles files with no extensions (even when there is a dot in the path)' do

0 comments on commit 8d883bb

Please sign in to comment.