Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

update some navigation

  • Loading branch information...
commit 50d1f89be00bf112313ff262f29b900a789947d2 1 parent 5b94c12
David Chelimsky authored October 10, 2011
2  content/community/index.page
... ...
@@ -1,5 +1,5 @@
1 1
 --- 
2  
-title: Community
  2
+title: community
3 3
 order: 6
4 4
 filter:
5 5
   - erb
4  content/documentation/before_and_after.page
... ...
@@ -1,5 +1,5 @@
1 1
 --- 
2  
-title: Before and After
  2
+title: callbacks
3 3
 order: 4
4 4
 filter:
5 5
   - erb
@@ -101,4 +101,4 @@ but not the things that you are describing in the examples.
101 101
 
102 102
 The most common cases of abuse are database access and/or fixture setup. Every example
103 103
 that accesses the database should start with a clean slate, otherwise the examples become
104  
-brittle and start to lose their value with false negatives and, worse, false positives.
  104
+brittle and start to lose their value with false negatives and, worse, false positives.
2  content/documentation/changes-rspec.page
... ...
@@ -1,5 +1,5 @@
1 1
 --- 
2  
-title: Changelog
  2
+title: changelog
3 3
 order: 7
4 4
 filter:
5 5
   - erb
9  content/documentation/expectations.page
... ...
@@ -1,14 +1,13 @@
1 1
 --- 
2  
-title: Expectations
  2
+title: rspec-expectations
3 3
 order: 2
4 4
 filter:
5 5
   - erb
6 6
   - textile
7 7
 --- 
8 8
 
9  
-h2. Spec::Expectations and Spec::Matchers
  9
+h2. RSpec::Expectations and RSpec::Matchers
10 10
 
11  
-When RSpec executes specifications, it defines <code>#should</code> and <code>#should_not</code> on
12  
-every object in the system. These methods are your entry to the magic of RSpec.
  11
+rspec-expectations defines <code>should</code> and <code>should_not</code> on every object in the system. These methods allow 
13 12
 
14  
-See "Spec::Expectations":http://rdoc.info/gems/rspec/<%= rspec_version %>/Spec/Expectations and "Spec::Matchers":http://rdoc.info/gems/rspec/<%= rspec_version %>/Spec/Matchers for more information.
  13
+See "RSpec::Expectations":http://rdoc.info/gems/rspec-expectations/RSpec/Expectations and "RSpec::Matchers":http://rdoc.info/gems/rspec-expectations/RSpec/Matchers for more information.
2  content/documentation/index.page
... ...
@@ -1,5 +1,5 @@
1 1
 --- 
2  
-title: RSpec
  2
+title: rspec-core
3 3
 order: 1
4 4
 filter:
5 5
   - erb
2  content/documentation/mocks/index.page
... ...
@@ -1,5 +1,5 @@
1 1
 --- 
2  
-title: Mocks and Stubs
  2
+title: rspec-mocks
3 3
 order: 4
4 4
 filter:
5 5
   - erb
4  content/documentation/tools/index.page
... ...
@@ -1,5 +1,5 @@
1 1
 --- 
2  
-title: Tools
  2
+title: tools
3 3
 order: 6
4 4
 filter:
5 5
   - erb
@@ -53,4 +53,4 @@ Very useful when your specs are comparing big strings!
53 53
 
54 54
 h3. 8) Mutation with Heckle
55 55
 
56  
-The <tt>--heckle</tt> option will run your specs with mutations.
  56
+The <tt>--heckle</tt> option will run your specs with mutations.
2  content/index.page
... ...
@@ -1,5 +1,5 @@
1 1
 --- 
2  
-title:  Home
  2
+title:  home
3 3
 order: 1
4 4
 filter:
5 5
   - erb
2  content/rails/index.page
... ...
@@ -1,5 +1,5 @@
1 1
 --- 
2  
-title: Spec::Rails
  2
+title: rspec-rails
3 3
 order: 2
4 4
 filter:
5 5
   - erb
2  layouts/default.rhtml
@@ -27,7 +27,7 @@ filter:    erb
27 27
 
28 28
 <div id="container">
29 29
   <div id="header">
30  
-    <h1><a href='/'>rspec-<%= rspec_version %> | rspec-rails-<%= rspec_rails_version%></a></h1>
  30
+    <h1><a href='/'>rspec-<%= rspec_version %></a></h1>
31 31
   </div>
32 32
 
33 33
   <%= breadcrumb_menu(@page) %>
16  lib/rspec_extras.rb
@@ -49,13 +49,9 @@ def immediate_children
49 49
   
50 50
   class Renderer
51 51
     def rspec_version
52  
-      "2.7.0.rc1"
  52
+      "2.7"
53 53
     end
54 54
     
55  
-    def rspec_rails_version
56  
-      "2.7.0.rc1"
57  
-    end
58  
-
59 55
     def breadcrumb_menu(page)
60 56
       '<div class="breadcrumb-menu">' + breadcrumbs(page) + menu(page) + '</div>'
61 57
     end
@@ -95,18 +91,12 @@ def menu(page)
95 91
         <% end %>
96 92
         <% if page.url == '/documentation/' %>
97 93
           <li>
98  
-            <a href="http://github.com/dchelimsky/rspec/wikis/home" target="_blank">Install</a>
99  
-          </li>
100  
-          <li>
101  
-            <a href="http://rdoc.info/gems/rspec/#{rspec_version}/frames" target="_blank">RDoc</a>
  94
+            <a href="http://rdoc.info/gems/rspec/frames" target="_blank">rdoc</a>
102 95
           </li>
103 96
         <% end %>
104 97
         <% if page.url == '/rails/' -%>
105 98
           <li>
106  
-            <a href="http://github.com/dchelimsky/rspec-rails/wikis/home" target="_blank">Install</a>
107  
-          </li>
108  
-          <li>
109  
-            <a href="http://rdoc.info/gems/rspec-rails/#{rspec_rails_version}/frames" target="_blank">RDoc</a>
  99
+            <a href="http://rdoc.info/gems/rspec-rails/frames" target="_blank">rdoc</a>
110 100
           </li>
111 101
         <% end -%>
112 102
         </ul>
2  upload
... ...
@@ -1,2 +1,2 @@
1 1
 #!/bin/sh
2  
-rsync -av --delete output/ david@davidchelimsky.net:/www/rspec.info
  2
+rsync -av --delete output/ rspec@rspec.info:/www/rspec.info

0 notes on commit 50d1f89

Please sign in to comment.
Something went wrong with that request. Please try again.