doc/src/documentation/index.page in rspec-0.5.1 vs doc/src/documentation/index.page in rspec-0.5.2

- old
+ new

@@ -1,8 +1,13 @@ --- -title: Documentation +title: Writing Specifications inMenu: true -ordering: 1 --- -h2. Documentation +h2. Writing Specifications -Here is all the doco +An RSpec specification is a Ruby file with a context and one or more specifications. Example: + +{ruby_inline: {filename: ../examples/empty_stack_spec.rb}} + +A context represents a collection of specifications and must be defined with a name and a block (do-end). +A specification is defined with the *specify* keyword and a sentence describing what's being specified. +It is highly recommended to include \ No newline at end of file