Sha256: a5eb9d5a7f40e45fbfdb997c29a4fd76f9e4c78077825f66ae0051d5170d3791

Contents?: true

Size: 277 Bytes

Versions: 5

Compression:

Stored size: 277 Bytes

Contents

require 'spec_helper'
require 'moosex'

class A
	include MooseX
end

describe "MooseX" do
	it "should contains has method" do
		A.methods.include?(:has).should be_true
	end

	it "should be possible create one single instance" do
		a = A.new
		a.is_a?(A).should be_true
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moosex-0.0.16 spec/moosex_spec.rb
moosex-0.0.15 spec/moosex_spec.rb
moosex-0.0.14 spec/moosex_spec.rb
moosex-0.0.13 spec/moosex_spec.rb
moosex-0.0.12 spec/moosex_spec.rb