-
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
Showing
5 changed files
with
33 additions
and
10 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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
forum: | ||
loader: forum | ||
loader_arg: http://devnet.jetbrains.com/community/feeds/threads?community=9778 | ||
|
||
thread: | ||
loader: rss_records | ||
loader_arg: http://devnet.jetbrains.com/community/feeds/messages?thread=313822 | ||
|
||
twitter: | ||
loader: twitter | ||
loader_arg: '@jetbrains' |
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | ||
|
||
# This model initially had no columns defined. If you add columns to the | ||
# model remove the '{}' from the fixture names and add the columns immediately | ||
# below each fixture, per the syntax in the comments below | ||
# | ||
php: {} | ||
phpstorm: | ||
email: [email protected] | ||
encrypted_password: <%= Devise.friendly_token %> # $2a$10$3e9qHlucH2lMU/SqGePhLe85SkzWLYHN7cI8Vp/TsTQR8ttmH16ku # 123123 | ||
|
||
jetbrains: | ||
email: [email protected] | ||
encrypted_password: <%= Devise.friendly_token %> | ||
|
||
|
||
two: {} |
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
require 'test_helper' | ||
|
||
class UserTest < ActiveSupport::TestCase | ||
# Replace this with your real tests. | ||
test "the truth" do | ||
assert true | ||
|
||
test "wrong email format" do | ||
user = User.new | ||
user.email = 'wrongemail' | ||
user.encrypted_password = Devise.friendly_token | ||
assert !user.save | ||
end | ||
|
||
end |