Sha256: c469d5cc6bc20780f005e2d3638c706915d1296d8474394ca55bea7e777cc7c9

Contents?: true

Size: 175 Bytes

Versions: 14

Compression:

Stored size: 175 Bytes

Contents

require "spec_helper"

describe Module do 
	describe "#consts" do
		it "runs ok" do
			module Constants
				A = 1
			end

			Constants.consts.should == {A: 1}

		end
	end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tagen-1.1.7 spec/tagen/core/module_spec.rb
tagen-1.1.6 spec/tagen/core/module_spec.rb
tagen-1.1.5 spec/tagen/core/module_spec.rb
tagen-1.1.4 spec/tagen/core/module_spec.rb
tagen-1.1.3 spec/tagen/core/module_spec.rb
tagen-1.1.2 spec/tagen/core/module_spec.rb
tagen-1.1.1 spec/tagen/core/module_spec.rb
tagen-1.1.0 spec/tagen/core/module_spec.rb
tagen-1.0.4 spec/tagen/core/module_spec.rb
tagen-1.0.3 spec/tagen/core/module_spec.rb
tagen-1.0.2 spec/tagen/core/module_spec.rb
tagen-1.0.1 spec/tagen/core/module_spec.rb
tagen-1.0.0 spec/tagen/core/module_spec.rb
tagen-0.2.5 spec/tagen/core/module_spec.rb