thoughtbot-clearance 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -51,7 +51,7 @@ task :default => ['test:all', 'test:features']
51
51
 
52
52
  gem_spec = Gem::Specification.new do |gem_spec|
53
53
  gem_spec.name = "clearance"
54
- gem_spec.version = "0.5.1"
54
+ gem_spec.version = "0.5.2"
55
55
  gem_spec.summary = "Rails authentication for developers who write tests."
56
56
  gem_spec.email = "support@thoughtbot.com"
57
57
  gem_spec.homepage = "http://github.com/thoughtbot/clearance"
@@ -21,7 +21,7 @@ User model example:
21
21
 
22
22
  User test example:
23
23
 
24
- class UserTest < Test::Unit::TestCase
24
+ class UserTest < ActiveSupport::TestCase
25
25
  include Clearance::Test::Unit::UserTest
26
26
  end
27
27
 
@@ -1,5 +1,5 @@
1
1
  require 'test_helper'
2
2
 
3
- class UserTest < Test::Unit::TestCase
3
+ class UserTest < ActiveSupport::TestCase
4
4
  include Clearance::Test::Unit::UserTest
5
- end
5
+ end
@@ -168,11 +168,7 @@ module Clearance
168
168
 
169
169
  context 'a DELETE to #destroy with a cookie' do
170
170
  setup do
171
- @request.cookies['remember_token'] = {
172
- :name => 'token',
173
- :value => 'value'
174
- }
175
- @controller.request = @request
171
+ cookies['remember_token'] = CGI::Cookie.new('token', 'value')
176
172
  delete :destroy
177
173
  end
178
174
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thoughtbot-clearance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoughtbot, inc.
@@ -22,7 +22,7 @@ autorequire:
22
22
  bindir: bin
23
23
  cert_chain: []
24
24
 
25
- date: 2009-02-26 21:00:00 -08:00
25
+ date: 2009-03-01 21:00:00 -08:00
26
26
  default_executable:
27
27
  dependencies: []
28
28