Sha256: de30e75bf3b4799b7ecf052ab178142bd7dd7f09c323d27da73dda5bb9f9797b

Contents?: true

Size: 245 Bytes

Versions: 135

Compression:

Stored size: 245 Bytes

Contents

describe :dir_closed, :shared => true do
  it "raises an IOError when called on a closed Dir instance" do
    lambda {
      dir = Dir.open DirSpecs.mock_dir
      dir.close
      dir.send(@method) {}
    }.should raise_error(IOError)
  end
end

Version data entries

135 entries across 135 versions & 2 rubygems

Version Path
rhodes-7.6.0 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-7.5.1 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-7.4.1 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-7.1.17 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-6.2.0 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-6.0.11 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-5.5.18 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-5.5.17 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-5.5.15 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-5.5.2 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-5.5.0 spec/framework_spec/app/spec/core/dir/shared/closed.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/core/dir/shared/closed.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/core/dir/shared/closed.rb
tauplatform-1.0.1 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-3.5.1.12 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-3.3.5 spec/framework_spec/app/spec/core/dir/shared/closed.rb
rhodes-3.4.2 spec/framework_spec/app/spec/core/dir/shared/closed.rb