Sha256: f7956691b96412a84b83b2e66fe5c840927aa6cc2d753f7946d4a51ad0eb4b10

Contents?: true

Size: 326 Bytes

Versions: 2

Compression:

Stored size: 326 Bytes

Contents

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

describe RubyPython::RubyPyClass do
  include RubyPythonStartStop

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

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubypython-0.3.1 spec/rubypyclass_spec.rb
rubypython-0.3.0 spec/rubypyclass_spec.rb