added RSpec and RSpec on Rails
This commit is contained in:
parent
ddd5b4cf19
commit
3f607d565b
316 changed files with 23828 additions and 0 deletions
16
vendor/gems/rspec-1.1.2/lib/spec/example/example_group.rb
vendored
Normal file
16
vendor/gems/rspec-1.1.2/lib/spec/example/example_group.rb
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
module Spec
|
||||
module Example
|
||||
# The superclass for all regular RSpec examples.
|
||||
class ExampleGroup
|
||||
extend Spec::Example::ExampleGroupMethods
|
||||
include Spec::Example::ExampleMethods
|
||||
|
||||
def initialize(defined_description, &implementation)
|
||||
@_defined_description = defined_description
|
||||
@_implementation = implementation
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Spec::ExampleGroup = Spec::Example::ExampleGroup
|
Loading…
Add table
Add a link
Reference in a new issue