~ubuntu-branches/ubuntu/oneiric/puppet/oneiric-security

« back to all changes in this revision

Viewing changes to vendor/gems/rspec/spec/spec/example/subclassing_example_group_spec.rb

  • Committer: Bazaar Package Importer
  • Author(s): Micah Anderson
  • Date: 2008-07-26 15:43:45 UTC
  • mfrom: (1.1.8 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080726154345-c03m49twzxewdwjn
Tags: 0.24.5-2
* Fix puppetlast to work with 0.24.5
* Adjust logcheck to match against new log messages in 0.24.5
* Update standards version to 3.8.0 (no changes)
* Update changelog to reduce length of line to make lintian happy

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
require File.dirname(__FILE__) + '/../../spec_helper'
 
2
 
 
3
module Spec
 
4
  module Example
 
5
    class GrandParentExampleGroup < Spec::Example::ExampleGroup
 
6
      describe "Grandparent ExampleGroup"
 
7
    end
 
8
 
 
9
    class ParentExampleGroup < GrandParentExampleGroup
 
10
      describe "Parent ExampleGroup"
 
11
      it "should bar" do
 
12
      end
 
13
    end
 
14
 
 
15
    class ChildExampleGroup < ParentExampleGroup
 
16
      describe "Child ExampleGroup"
 
17
      it "should bam" do
 
18
      end
 
19
    end
 
20
 
 
21
    describe ChildExampleGroup do
 
22
 
 
23
    end
 
24
  end
 
25
end