thoughtbot-clearance 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,7 @@ module Clearance
|
|
27
27
|
end
|
28
28
|
|
29
29
|
should_deny_access(:flash => /User has not confirmed email. Confirmation email will be resent./i)
|
30
|
-
|
30
|
+
should_redirect_to('new_session_url') { new_session_url }
|
31
31
|
|
32
32
|
should "send the confirmation email" do
|
33
33
|
assert_not_nil email = ActionMailer::Base.deliveries[0]
|
data/shoulda_macros/clearance.rb
CHANGED
@@ -45,12 +45,7 @@ module Clearance
|
|
45
45
|
should_not_set_the_flash
|
46
46
|
end
|
47
47
|
|
48
|
-
|
49
|
-
assert_response :unauthorized,
|
50
|
-
"access was expected to be denied (401 unauthorized)"
|
51
|
-
assert_template "sessions/new",
|
52
|
-
"template was expected to be sign in (sessions/new)"
|
53
|
-
end
|
48
|
+
should_redirect_to('new_session_url') { new_session_url }
|
54
49
|
end
|
55
50
|
|
56
51
|
# HTTP FLUENCY
|
metadata
CHANGED
data/KNOWN_ISSUES.textile
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
h1. Known Issues
|
2
|
-
|
3
|
-
h2. Rails 2.3
|
4
|
-
|
5
|
-
* default_test failures - this is a "Rails 2.3 bug":http://is.gd/iZkY
|
6
|
-
* CGI::Cookie.new('token', 'value') returns nil "[#42]":http://is.gd/iZlO
|
7
|
-
* application.rb/application_controller.rb "[#44]":http://is.gd/iZl5
|
8
|
-
|
9
|
-
h2. i18n
|
10
|
-
|
11
|
-
* flash messages are in English-only "[#40]":http://is.gd/iZmq & "[#24]":http://is.gd/iZmz
|