forked from binarylogic/authlogic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85b2a6b
commit 8fc0870
Showing
5 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,9 @@ begin | |
gem.email = "[email protected]" | ||
gem.homepage = "http://github.com/binarylogic/authlogic" | ||
gem.authors = ["Ben Johnson of Binary Logic"] | ||
gem.rubyforge_project = "authlogic" | ||
gem.add_dependency "activesupport" | ||
end | ||
Jeweler::RubyforgeTasks.new | ||
Jeweler::GemcutterTasks.new | ||
rescue LoadError | ||
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,10 @@ def test_validates_format_of_email_field | |
u.valid? | ||
assert u.errors[:email].size == 0 | ||
|
||
u.email = "[email protected]" | ||
u.valid? | ||
assert u.errors[:email].size == 0 | ||
|
||
u.email = "[email protected]" | ||
u.valid? | ||
assert u.errors[:email].size == 0 | ||
|