Sha256: 053c23417d5d523b8950775dff02f44dbb018b1c1087b2b04299f138de6962f9
Contents?: true
Size: 550 Bytes
Versions: 8
Compression:
Stored size: 550 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 OpenNamespace" do subject.should include(OpenNamespace) 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
8 entries across 8 versions & 1 rubygems