Sha256: ff340e349131b258d07a158e437ffb468bbaae8f09a5d8e61cfa504478d78365

Contents?: true

Size: 308 Bytes

Versions: 3

Compression:

Stored size: 308 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper.rb'

describe Rupy::RubyPyClass do
  include RubyPythonStartStop

  describe "#new" do
    it "should return a RubyPyInstance" do
      urllib2 = Rupy.import 'urllib2'
      urllib2.Request.new('google.com').should be_a(Rupy::RubyPyInstance)
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rupy-0.4.2 spec/rubypyclass_spec.rb
rupy-0.4.1 spec/rubypyclass_spec.rb
rupy-0.4.0 ./spec/rubypyclass_spec.rb