blob: 51c2470efdf381c8f6bc150b21785e8aebb31e2d (
plain)
1
2
3
4
5
6
7
8
9
10
|
require_relative '../../../spec_helper'
require 'fiddle'
describe "Fiddle::Handle#initialize" do
it "raises Fiddle::DLError if the library cannot be found" do
-> {
Fiddle::Handle.new("doesnotexist.doesnotexist")
}.should raise_error(Fiddle::DLError)
end
end
|