<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -38,7 +38,6 @@ module RoleSystem
     # which inherits from an AdminController that specifies a default role.
     def skip_role_system
       self.skipping_role_system = true
-      @roles_checked = true
     end
 
     # These actions don't require roles at all. This method is helpful for instances
@@ -82,7 +81,7 @@ module RoleSystem
 
       private
       def check_roles
-        return true if self.skipping_role_system
+        return true if self.skipping_role_system == true
         return true if no_roles_required_for(binding)
         raise RoleSystem::RoleRequired unless @role_player
         user = self.send(@role_player)</diff>
      <filename>lib/role_system.rb</filename>
    </modified>
    <modified>
      <diff>@@ -223,7 +223,7 @@ describe RoleSystem, &quot;a controller without authenticated system&quot;, :type =&gt; :cont
   it &quot;should just return an access denied header when authenticated_system is not available&quot; do
     login_as('editor')
     get :index
-    response.headers['Status'].should == &quot;401 Unauthorized&quot;
+    response.status.should == &quot;401 Unauthorized&quot;
   end
 end
 </diff>
      <filename>spec/role_system_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8820e5059a1d52b82581272f5ad98b0393eeda55</id>
    </parent>
  </parents>
  <author>
    <name>Mark Daggett</name>
    <email>heavysixer@heavysixer.local</email>
  </author>
  <url>http://github.com/heavysixer/rolesystem/commit/ac4a453d88636c252f2c3d397736de83a732969c</url>
  <id>ac4a453d88636c252f2c3d397736de83a732969c</id>
  <committed-date>2009-06-25T09:17:19-07:00</committed-date>
  <authored-date>2009-06-25T09:17:19-07:00</authored-date>
  <message>Explicitly match  the skipping_role_system variable and fix the test that checked for return status because Rack doesn't allow you access to the .header['Status'].</message>
  <tree>708f894a2ca3515eee015b2bcc0d5d2e70376cb1</tree>
  <committer>
    <name>Mark Daggett</name>
    <email>heavysixer@heavysixer.local</email>
  </committer>
</commit>
