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

Version Path
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/spec/spec/example/example_group/described_module_spec.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/spec/spec/example/example_group/described_module_spec.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/spec/spec/example/example_group/described_module_spec.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/spec/spec/example/example_group/described_module_spec.rb
pictrails-0.5.0 vendor/plugins/rspec/spec/spec/example/example_group/described_module_spec.rb
rspec-0.0.10 spec/spec/example/example_group/described_module_spec.rb
rspec-1.1.7 spec/spec/example/example_group/described_module_spec.rb
rspec-1.1.4 spec/spec/example/example_group/described_module_spec.rb
rspec-1.1.5 spec/spec/example/example_group/described_module_spec.rb
rspec-1.1.6 spec/spec/example/example_group/described_module_spec.rb
rspec-1.1.8 spec/spec/example/example_group/described_module_spec.rb
spree-0.4.1 vendor/plugins/rspec/spec/spec/example/example_group/described_module_spec.rb
spree-0.4.0 vendor/plugins/rspec/spec/spec/example/example_group/described_module_spec.rb
spree-0.5.0 vendor/plugins/rspec/spec/spec/example/example_group/described_module_spec.rb
spree-0.5.1 vendor/plugins/rspec/spec/spec/example/example_group/described_module_spec.rb