Class Spec::Example::Configuration
In: lib/spec/rails/extensions/spec/example/configuration.rb
Parent: Object

Methods

Constants

EXAMPLE_GROUP_CLASSES = [ ::Test::Unit::TestCase, ::Spec::Rails::Example::RailsExampleGroup, ::Spec::Rails::Example::FunctionalExampleGroup, ::Spec::Rails::Example::ControllerExampleGroup, ::Spec::Rails::Example::ViewExampleGroup, ::Spec::Rails::Example::HelperExampleGroup, ::Spec::Rails::Example::ModelExampleGroup   Rails 1.2.3 does a copy of the @inheritable_attributes to the subclass when the subclass is created. This causes an ordering issue when setting state on Configuration because the data is already copied. Iterating over EXAMPLE_GROUP_CLASSES causes the base ExampleGroup classes to have their @inheritable_attributes updated. TODO: BT - When we no longer support Rails 1.2.3, we can remove this functionality

Public Class methods

Public Instance methods

[Validate]