test/stores/redis/like_store_test.rb in socialization-0.5.0.beta vs test/stores/redis/like_store_test.rb in socialization-0.5.0.beta2
- old
+ new
@@ -2,20 +2,20 @@
class RedisLikeStoreTest < Test::Unit::TestCase
context "RedisStores::LikeStoreTest" do
setup do
use_redis_store
- @klass = Socialization::RedisStores::LikeStore
+ @klass = Socialization::RedisStores::Like
@klass.touch nil
@klass.after_like nil
@klass.after_unlike nil
@liker = ImALiker.create
@likeable = ImALikeable.create
end
context "Stores" do
- should "inherit Socialization::RedisStores::LikeStore" do
- assert_equal Socialization::RedisStores::LikeStore, Socialization.like_model
+ should "inherit Socialization::RedisStores::Like" do
+ assert_equal Socialization::RedisStores::Like, Socialization.like_model
end
end
context "#like!" do
should "create a Like record" do