Sha256: 33b381706fde68eeb2edc47eae512f85110b2ad76ffd48f98a95a41969da5062
Contents?: true
Size: 470 Bytes
Versions: 15
Compression:
Stored size: 470 Bytes
Contents
require File.dirname(__FILE__) + "/../../../spec_helper" module Spec module Example module AModule; end class AClass; end describe "With", AModule do it "should have the described_type as 'AModule'" do self.class.described_module.should == AModule end end describe "With", AClass do it "should have the described_module as nil" do self.class.described_module.should be_nil end end end end
Version data entries
15 entries across 15 versions & 4 rubygems