pelle / oauth-plugin

Rails plugin for OAuth
http://stakeventures.com/articles/2009/07/21/consuming-oauth-intelligently-in-rails
MIT License
716 stars 216 forks source link

oauth_controller_spec_helper missing? #82

Open masterkain opened 13 years ago

masterkain commented 13 years ago

Hello, running the generator on a brand new rspec backed rails app I get only oauth_clients_controller_spec.rb in spec/controllers.

This file requires

require File.dirname(__FILE__) + '/oauth_controller_spec_helper'

Which doesn't seems to exists anywhere in the current source.

duien commented 13 years ago

I have the same error. The file was deleted in 6e24ec0ee2f3dc871756b2e8a75fa2181ff504f4 but is still used in the other controller tests.

fluxsaas commented 12 years ago

i think you should delete the test file "spec/controllers/oauth_clients_controller_spec.rb", because it's tested inside the gem...

Gazler commented 12 years ago

In my experience, the generated tests are missing several things. This helper being one, the fixtures being another.

You can safely delete that test.

If you need the fixtures, you can grab them from my tutorial repository based on this gem.

rafamvc commented 12 years ago

+1 with this error.