Fixed some major bugs with implications, cleaning up the cache

expiration process and adding some additional tests.

Cleaned up the unit tests.  They should all run cleanly with rake
test:units now.
This commit is contained in:
albert
2010-10-27 16:56:12 -04:00
parent 484ff696e2
commit 1c9d8c37c7
16 changed files with 214 additions and 104 deletions

View File

@@ -1,4 +1,2 @@
Factory.define(:tag_alias) do |f|
f.creator {|x| x.association(:user)}
f.creator_ip_addr "127.0.0.1"
end

View File

@@ -1,4 +1,2 @@
Factory.define(:tag_implication) do |f|
f.creator {|x| x.association(:user)}
f.creator_ip_addr "127.0.0.1"
end

View File

@@ -2,6 +2,4 @@ Factory.define(:wiki_page) do |f|
f.creator {|x| x.association(:user)}
f.title {|x| Faker::Lorem.words}
f.body {Faker::Lorem.sentences}
f.updater_id {|x| x.creator_id}
f.updater_ip_addr "127.0.0.1"
end