File: zip_test.rb

package info (click to toggle)
ruby-zip-zip 0.3%2Bgh-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 280 kB
  • ctags: 301
  • sloc: ruby: 3,719; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
require 'test_helper'

describe Zip, '#options[]' do
  after { Zip.continue_on_exists_proc = false }

  it 'translates the 0.9 Zip.options[<name>] interface to the new Zip.<name> interface' do
    Zip.options[:continue_on_exists_proc] = '123'

    Zip.continue_on_exists_proc.must_equal('123')
  end
end