]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/gems/rspec-1.1.2/spec/spec/example/example_group_class_definition_spec.rb
Removing rspec from svn, as it isn't being used.
[rails.git] / vendor / gems / rspec-1.1.2 / spec / spec / example / example_group_class_definition_spec.rb
diff --git a/vendor/gems/rspec-1.1.2/spec/spec/example/example_group_class_definition_spec.rb b/vendor/gems/rspec-1.1.2/spec/spec/example/example_group_class_definition_spec.rb
deleted file mode 100644 (file)
index 0b00e13..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
-
-module Spec
-  module Example
-    class ExampleGroupSubclass < ExampleGroup
-      class << self
-        attr_accessor :examples_ran
-      end
-
-      @@klass_variable_set = true
-      CONSTANT = :foobar
-
-      before do
-        @instance_variable = :hello
-      end
-
-      it "should run" do
-        self.class.examples_ran = true
-      end
-
-      it "should have access to instance variables" do
-        @instance_variable.should == :hello
-      end
-
-      it "should have access to class variables" do
-        @@klass_variable_set.should == true
-      end
-
-      it "should have access to constants" do
-        CONSTANT.should == :foobar
-      end
-
-      it "should have access to methods defined in the Example Group" do
-        a_method.should == 22
-      end
-
-      def a_method
-        22
-      end
-    end
-
-    describe ExampleGroupSubclass do
-      it "should run" do
-        ExampleGroupSubclass.examples_ran.should be_true
-      end
-    end
-  end
-end
\ No newline at end of file