Done testing
[depot.git] / test / fixtures / users.yml
index ccf5bd13fb3043d8449b3f9e3ef59e3924c2170d..c35ec63df88811f511c38975502ab370aabfba1f 100644 (file)
@@ -1,11 +1,7 @@
 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
 
-one:
-  name: MyString
-  hashed_password: MyString
-  salt: MyString
-
-two:
-  name: MyString
-  hashed_password: MyString
-  salt: MyString
+<% SALT = "NaCl" unless defined?(SALT) %>
+dave:
+  name: dave
+  salt: <%= SALT %>
+  hashed_password: <%= User.encrypted_password('secret' , SALT) %>
\ No newline at end of file