Why don't RSpec's methods, "get", "post", "put", "delete" work in a controller spec in a gem (or out
- by ramon.tayag
I'm not new to Rails or Rspec, but I'm new to making gems. When I test my controllers, the REST methods "get", "post", "put", "delete" give me an undefined method error.
Below you'll find code, but if you prefer to see it in a pastie, click here.
Thanks!
Here's my spec_helper:
$LOAD_PATH.unshift(File.dirname(__FILE__))…