Commit 2ac575f5

mo khan <mo@mokhan.ca>
2013-05-09 22:16:22
fix pending comments controller spec
1 parent 590377a
Changed files (2)
spec/controllers/comments_controller_spec.rb
@@ -43,7 +43,7 @@ describe CommentsController do
     end
 
     #need to figure out how to get the devise helpers working
-    xit "should not let you comment" do
+    it "should not let you comment" do
       response.should_not redirect_to(creation)
     end
   end
spec/support/devise.rb
@@ -8,3 +8,7 @@ module DeviseHelper
     end
   end
 end
+
+RSpec.configure do |config|
+  config.include Devise::TestHelpers, :type => :controller
+end