Skip to content

Instantly share code, notes, and snippets.

@Nitrodist
Created June 11, 2012 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nitrodist/e141031247c506ba8d52 to your computer and use it in GitHub Desktop.
Save Nitrodist/e141031247c506ba8d52 to your computer and use it in GitHub Desktop.
22) Authentication Pages: authorisation for non-signed-in users in the Posts controller submitting to the destroy action
Failure/Error: post = FactoryGirl.create(:post)
NameError:
uninitialized constant Post::category
# ./spec/requests/authentication_pages_spec.rb:76:in `block (6 levels) in <top (required)>'
----
$ cat .rspec
--format nested
--colour
--backtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment