<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -49,6 +49,37 @@ describe &quot;AuthorTags&quot; do
     end
   end
   
+  describe &quot;&lt;r:author:gravatar_url /&gt;&quot; do
+    before :each do
+      page.created_by.stub!(:email).and_return(&quot;seancribbs@gmail.com&quot;)
+      @base_url = &quot;http://www.gravatar.com/avatar/8802b1fa1b53e2197beea9454244f847&quot;
+    end
+
+    it &quot;should render the base url&quot; do
+      page.should render('&lt;r:author:gravatar_url /&gt;').as(@base_url)
+    end
+    
+    it &quot;should render the url with a size&quot; do
+      page.should render('&lt;r:author:gravatar_url size=&quot;30&quot; /&gt;').as(&quot;#{@base_url}?s=30&quot;)
+    end
+    
+    it &quot;should render the url with a rating&quot; do
+      page.should render('&lt;r:author:gravatar_url rating=&quot;G&quot; /&gt;').as(&quot;#{@base_url}?r=g&quot;)
+    end
+    
+    it &quot;should render the url with a default&quot; do
+      page.should render('&lt;r:author:gravatar_url default=&quot;identicon&quot; /&gt;').as(&quot;#{@base_url}?d=identicon&quot;)
+    end
+    
+    it &quot;should render the url with a format&quot; do
+      page.should render('&lt;r:author:gravatar_url format=&quot;jpg&quot; /&gt;').as(&quot;#{@base_url}.jpg&quot;)
+    end
+    
+    it &quot;should render the url with all options&quot; do
+      page.should render('&lt;r:author:gravatar_url size=&quot;30&quot; rating=&quot;G&quot; default=&quot;identicon&quot; format=&quot;jpg&quot;/&gt;').as(&quot;#{@base_url}.jpg?s=30&amp;d=identicon&amp;r=g&quot;)
+    end
+  end
+  
   describe &quot;&lt;r:authors&gt;&quot; do
     it &quot;should render it's contents&quot; do
       page.should render('&lt;r:authors&gt;Authors&lt;/r:authors&gt;').as('Authors')</diff>
      <filename>spec/models/author_tags_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6046a9a5ff93b1d53b27dd675c8263763b27e919</id>
    </parent>
  </parents>
  <author>
    <name>Sean Cribbs</name>
    <email>seancribbs@gmail.com</email>
  </author>
  <url>http://github.com/seancribbs/radiant-blog-extension/commit/ad863a4bc8d0e559aa036edfe7a6f819f65bf834</url>
  <id>ad863a4bc8d0e559aa036edfe7a6f819f65bf834</id>
  <committed-date>2008-10-13T06:50:55-07:00</committed-date>
  <authored-date>2008-10-13T06:50:55-07:00</authored-date>
  <message>Add specs for gravatar_url tag.</message>
  <tree>9803ff23a9f2e0f666280c8b5716b520c6f38c9d</tree>
  <committer>
    <name>Sean Cribbs</name>
    <email>seancribbs@gmail.com</email>
  </committer>
</commit>
