Commit 2ac575f5
Changed files (2)
spec
controllers
support
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