applicake/doorkeeper — Issue #22: Authorization endpoint fails when there're no scopes
Author: felipeelias
Created: 2011-12-13 15:52:37+00:00
State: open
Labels: bug

This test case fails:

```ruby
feature "Authorization Request", "with no scopes" do
background do
resource_owner_is_authenticated
client_exists
end

scenario "resource owner gets redirected to authentication" do
visit authorization_endpoint_url(:client => @client)
i_should_see "Authorize"
end
end
```