Sha256: df3c4b19d45bdb69d2e7ffd71a5a0cf061efe26cdbd07c86db6937eb7ee6a0d6

Contents?: true

Size: 257 Bytes

Versions: 11

Compression:

Stored size: 257 Bytes

Contents

require "spec_helper"

describe Symbol do
	describe "#method_missing" do
		it "#sub. returns a symbol" do
			:_foo.sub(/_/, '').should == :foo
		end

		it "#chars. return a enumerator" do
			:_foo.chars.should be_an_instance_of Enumerator
		end
		
	end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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