Sha256: 2a464cae6543258de70c3c77686845cbf73778311f5ecc781230eb195d418e6d

Contents?: true

Size: 385 Bytes

Versions: 3

Compression:

Stored size: 385 Bytes

Contents

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

include TestConstants

describe 'RubyPython Legacy Mode Module' do
  include RubyPythonStartStop

  before :all do
    require 'rupy/legacy'
  end

  after :all do
    Rupy::LegacyMode.teardown_legacy
  end

  describe "when required" do
    it "should enable legacy mode" do
      Rupy.legacy_mode.should == true
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

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