Show More
Commit Description:
started cleaning up tests, fixed fixtures loading error, removed error when contest time limit is uninitialized
Commit Description:
started cleaning up tests, fixed fixtures loading error, removed error when contest time limit is uninitialized
File last commit:
Show/Diff file:
Action:
test/fixtures/users.yml | 20 lines | 369 B | text/x-yaml | YamlLexer |
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
<%
User.public_class_method :encrypt
salt = "abc"
%>
john:
login: john
full_name: john
hashed_password: <%= User.encrypt("hello",salt) %>
salt: <%= salt %>
mary:
login: mary
full_name: mary
hashed_password: <%= User.encrypt("goodbye",salt) %>
salt: <%= salt %>
roles: admin