Skip to content

Commit

Permalink
make hidden global include obvious, now all tests pass when run on th…
Browse files Browse the repository at this point in the history
…eir own (previously proxy_spec failed when run on its own)
  • Loading branch information
grosser committed Jun 7, 2012
1 parent da769c9 commit 8a4eb8e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
warden (1.1.1)
warden (1.2.0)
rack (>= 1.0)

GEM
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Expand Up @@ -14,6 +14,7 @@

RSpec.configure do |config|
config.include(Warden::Spec::Helpers)
config.include(Warden::Test::Helpers)

def load_strategies
Dir[File.join(File.dirname(__FILE__), "helpers", "strategies", "**/*.rb")].each do |f|
Expand Down
2 changes: 0 additions & 2 deletions spec/warden/test/helpers_spec.rb
Expand Up @@ -2,8 +2,6 @@
require 'spec_helper'

describe Warden::Test::Helpers do
include Warden::Test::Helpers

before{ $captures = [] }
after{ Warden.test_reset! }

Expand Down

0 comments on commit 8a4eb8e

Please sign in to comment.