Class: GreenPepper::SubsetOfExampleFactory
- Inherits:
-
CollectionExampleFactory
- Object
- ExampleFactory
- CollectionExampleFactory
- GreenPepper::SubsetOfExampleFactory
- Defined in:
- lib/greenpepper/factory/collectionexamplefactory.rb
Instance Method Summary collapse
Methods inherited from CollectionExampleFactory
Methods inherited from ExampleFactory
Instance Method Details
#do_create_example(fixture_name) ⇒ Object
45 46 47 |
# File 'lib/greenpepper/factory/collectionexamplefactory.rb', line 45 def do_create_example(fixture_name) SubsetOfExample.new fixture_name end |
#support?(table) ⇒ Boolean
41 42 43 |
# File 'lib/greenpepper/factory/collectionexamplefactory.rb', line 41 def support?(table) /^\s*subset\s*Of\s*$/i === table[0][0] end |