changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/spec/spec/example/subclassing_example_group_spec.rb

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
1require File.dirname(__FILE__) + '/../../spec_helper'
2
3module 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
25end