<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,6 +7,12 @@ describe &quot;/accounts/index.html.haml&quot; do
     login_and_assign
   end
 
+  it &quot;should render a proper account website link if an account is provided&quot; do
+    assigns[:accounts] = [ Factory(:account, :website =&gt; 'www.fatfreecrm.com'), Factory(:account) ].paginate
+    render &quot;/accounts/index.html.haml&quot;
+    response.should have_tag(&quot;a[href=http://www.fatfreecrm.com]&quot;)
+  end
+
   it &quot;should render list of accounts if list of accounts is not empty&quot; do
     assigns[:accounts] = [ Factory(:account), Factory(:account) ].paginate
     template.should_receive(:render).with(hash_including(:partial =&gt; &quot;account&quot;))</diff>
      <filename>spec/views/accounts/index.haml_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ab9a0cd63df369600cb580f89f0bc5293af4c155</id>
    </parent>
  </parents>
  <author>
    <name>Todd Makinster</name>
    <email>todd@todd-makinsters-mac-pro-5.local</email>
  </author>
  <url>http://github.com/enderson/fat_free_crm/commit/b4831e565fd6828a7e16f4c75f7f7cdf0a1aeaa9</url>
  <id>b4831e565fd6828a7e16f4c75f7f7cdf0a1aeaa9</id>
  <committed-date>2009-08-19T17:59:12-07:00</committed-date>
  <authored-date>2009-08-19T17:59:12-07:00</authored-date>
  <message>Added a test that revealed the improper link created by the
link_to and account#website when the website is entered without
the http protocol.</message>
  <tree>26e587475cd121c47b524ee7ead3c9535a822256</tree>
  <committer>
    <name>Todd Makinster</name>
    <email>todd@todd-makinsters-mac-pro-5.local</email>
  </committer>
</commit>
