diff options
author | francis <francis> | 2008-01-18 03:57:43 +0000 |
---|---|---|
committer | francis <francis> | 2008-01-18 03:57:43 +0000 |
commit | 8591cefe4c561825806cd15366b7222835c2d81a (patch) | |
tree | 7018892e6f6a249200b5d4df584a0b9d2e9dc2ef | |
parent | 7502092082f5161572d788b774dedc567fa3c6e2 (diff) |
Oops
-rw-r--r-- | spec/models/post_redirect_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/post_redirect_spec.rb b/spec/models/post_redirect_spec.rb index a60682a38..ff1b11e39 100644 --- a/spec/models/post_redirect_spec.rb +++ b/spec/models/post_redirect_spec.rb @@ -27,12 +27,12 @@ describe PostRedirect, " when constructing" do it "should generate a URL friendly token" do pr = PostRedirect.new - pr.token.should match(/[a-z][0-9]/); + pr.token.should match(/[a-z0-9]+/); end it "should generate an email friendly email token" do pr = PostRedirect.new - pr.email_token.should match(/[a-z][0-9]/); + pr.email_token.should match(/[a-z0-9]+/); end end |