Sha256: 16c4a5f380992ff1f1b8fc791a768ef83ced3c0ff5789f543e4964c7fe30f33c

Contents?: true

Size: 338 Bytes

Versions: 4

Compression:

Stored size: 338 Bytes

Contents

require File.expand_path('../shared/windows', __FILE__)
require 'etc'

describe "Etc.group" do
  it_behaves_like(:etc_on_windows, :group)

  it "raises a RuntimeError for parallel iteration" do
    proc {
      Etc.group do | group |
        Etc.group do | group2 |
        end
      end
    }.should raise_error(RuntimeError)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubysl-etc-3.0 spec/group_spec.rb
rubysl-etc-1.0.1 spec/group_spec.rb
rubysl-etc-2.0.3 spec/group_spec.rb
rubysl-etc-1.0.0 spec/group_spec.rb