Sha256: 3fc3452cd494da12bc5415680f80fe7a3c7ad64dd3300b90e1794847c9b0cad1
Contents?: true
Size: 452 Bytes
Versions: 4
Compression:
Stored size: 452 Bytes
Contents
require 'spec_helper' require 'perl/ext/hash' require 'perl/interpreter' describe Hash do describe "#to_perl" do before(:all) do @interpreter = Perl::Interpreter.new end after(:all) do @interpreter.stop end describe "on an empty Hash" do let(:subject) { {} } it "should return the expected result" do ptr = subject.to_perl ptr.should be_kind_of(FFI::Pointer) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-perl-04.01.2011.2 | spec/ext/hash_spec.rb |
ruby-perl-04.01.2011.1 | spec/ext/hash_spec.rb |
ruby-perl-04.01.2011 | spec/ext/hash_spec.rb |
ruby-perl-0.99.15j | spec/ext/hash_spec.rb |