Sha256: 3e48e4dc49059600773ca94e6e2953dfb66a982d0d13f67c3ba4942e87ccd881
Contents?: true
Size: 540 Bytes
Versions: 13
Compression:
Stored size: 540 Bytes
Contents
require 'spec_helper' require 'ronin/ronin' require 'ronin/version' describe Ronin do it "should have a version" do version = subject.const_get('VERSION') version.should_not be_nil version.should_not be_empty end it "should include AutoLoad" do subject.should include(AutoLoad) end it "should add a const_missing method when included" do base_class = Class.new base_class.send :include, subject subject.const_set('SOME_CONSTANT',1) base_class.const_get('SOME_CONSTANT').should == 1 end end
Version data entries
13 entries across 13 versions & 1 rubygems