test/test_salty.rb in salty-0.0.1 vs test/test_salty.rb in salty-0.0.2

- old
+ new

@@ -1,7 +1,13 @@ require 'helper' class TestSalty < Test::Unit::TestCase - should "probably rename this file and start testing for real" do - flunk "hey buddy, you should probably rename this file and start testing for real" + context "test salt" do + setup do + @salt = generate_salt + end + + should "hash the same string and ensure the hash is the same" do + assert_equal salted_hash("bobby",@salt), salted_hash("bobby",@salt) + end end end