Sha256: 4b7bf2de69189a54afcd9c32db4c056ce45f287b320cfb67f83120aa0dc6cd19

Contents?: true

Size: 624 Bytes

Versions: 21

Compression:

Stored size: 624 Bytes

Contents

require_relative 'spec_helper'

describe Kernel do
  def self.get_requires
    Dir[File.dirname(__FILE__) + '/../lib/**/*.rb']
  end

  # Try to require each of the files in RTSP
  get_requires.each do |r|
    it "should require #{r}" do

      # A require returns true if it was required, false if it had already been
      # required, and nil if it couldn't require.
      Kernel.require(r.to_s).should_not be_nil
    end
  end
end

describe RTSP do
  it "should have a VERSION constant" do
    RTSP.const_defined?('VERSION').should be_true
  end

  it "has version 0.4.0" do
    RTSP::VERSION.should == '0.4.0'
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
rtsp_server-0.1.2 spec/rtsp_spec.rb
rtsp_server-0.1.1 spec/rtsp_spec.rb
rtsp_server-0.1.0 spec/rtsp_spec.rb
rtsp_server-0.0.9-universal-java spec/rtsp_spec.rb
rtsp_server-0.0.9 spec/rtsp_spec.rb
rtsp_server-0.0.8-universal-java spec/rtsp_spec.rb
rtsp_server-0.0.8 spec/rtsp_spec.rb
rtsp_server-0.0.7-universal-java spec/rtsp_spec.rb
rtsp_server-0.0.7 spec/rtsp_spec.rb
rtsp_server-0.0.6-universal-java spec/rtsp_spec.rb
rtsp_server-0.0.6 spec/rtsp_spec.rb
rtsp_server-0.0.5 spec/rtsp_spec.rb
rtsp_server-0.0.4-universal-java spec/rtsp_spec.rb
rtsp_server-0.0.4 spec/rtsp_spec.rb
rtsp_server-0.0.3-universal-java spec/rtsp_spec.rb
rtsp_server-0.0.3 spec/rtsp_spec.rb
rtsp_server-0.0.2-universal-java spec/rtsp_spec.rb
rtsp_server-0.0.2 spec/rtsp_spec.rb
rtsp_server-0.0.1 spec/rtsp_spec.rb
rtsp-0.4.1 spec/rtsp_spec.rb