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.
|
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"
|
@@ -168,11 +168,7 @@ module Clearance
|
|
168
168
|
|
169
169
|
context 'a DELETE to #destroy with a cookie' do
|
170
170
|
setup do
|
171
|
-
|
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.
|
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-
|
25
|
+
date: 2009-03-01 21:00:00 -08:00
|
26
26
|
default_executable:
|
27
27
|
dependencies: []
|
28
28
|
|