Browse files

Include certain helpers only for controller specs

Travis CI was failing because of the conflict between the `sign_out` method
meant for integration tests and the `sign_out` method used for controller specs.

Example failure:
  • Loading branch information...
1 parent b7dda29 commit 4d8bce7b2d4b32348d28844debad5552bfc0d487 @gylaz gylaz committed Feb 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/clearance/testing.rb
@@ -17,6 +17,6 @@ class ActionController::TestCase
if defined?(RSpec) && RSpec.respond_to?(:configure)
RSpec.configure do |config|
config.include Clearance::Testing::Matchers
- config.include Clearance::Testing::Helpers
+ config.include Clearance::Testing::Helpers, :type => :controller

0 comments on commit 4d8bce7

Please sign in to comment.