oauth-plugin
oauth-plugin copied to clipboard
oauth_controller_spec_helper missing?
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.
I have the same error. The file was deleted in 6e24ec0ee2f3dc871756b2e8a75fa2181ff504f4 but is still used in the other controller tests.
i think you should delete the test file "spec/controllers/oauth_clients_controller_spec.rb", because it's tested inside the gem...
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.
+1 with this error.