Sha256: 6d675769f13ab2dbd06f24bc1fbeea5539d82f92af530f553e85c3d330498b44

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

# encoding: utf-8
#
require 'spec_helper'

describe Picky::Backends::Memory::JSON do

  let(:backend) { described_class.new '/tmp/picky_test_cache' }
  
  describe "dump_json" do
    it "works with ascii characters" do
      backend.dump_json key: 'abc'
    end
    it "works with cyrillic characters" do
      backend.dump_json key: 'ะน'
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
picky-4.4.1 spec/functional/backends/memory_json_utf8_spec.rb
picky-4.4.0 spec/functional/backends/memory_json_utf8_spec.rb