Sha256: 7b6e24c5ad9412e5fef8963aeb33217f80626b95dbba5fb5cdcdcf40d30ce016

Contents?: true

Size: 370 Bytes

Versions: 9

Compression:

Stored size: 370 Bytes

Contents

require 'rprogram/version'
require 'rprogram/rprogram'

require 'spec_helper'

describe RProgram do
  it "should have a VERSION constant" do
    RProgram.const_defined?('VERSION').should == true
  end

  it "should have a debug mode" do
    RProgram.debug = true
    RProgram.debug.should == true

    RProgram.debug = false
    RProgram.debug.should == false
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rprogram-0.3.1 spec/rprogram_spec.rb
rprogram-0.3.0 spec/rprogram_spec.rb
rprogram-0.2.3 spec/rprogram_spec.rb
rprogram-0.2.2 spec/rprogram_spec.rb
rprogram-0.2.1 spec/rprogram_spec.rb
rprogram-0.2.0 spec/rprogram_spec.rb
rprogram-0.1.8 spec/rprogram_spec.rb
rprogram-0.1.7 spec/rprogram_spec.rb
rprogram-0.1.6 spec/rprogram_spec.rb