Sha256: af4908d43a2d5f52ed83916c7a465663b6a0a3ee6728e10f8855e0fc49b4b7c6

Contents?: true

Size: 869 Bytes

Versions: 9

Compression:

Stored size: 869 Bytes

Contents

require 'spec_helper'

describe Socialization::RedisStores::Follow do
  before do
    use_redis_store
    @klass = Socialization::RedisStores::Mention
    @base = Socialization::RedisStores::Base
  end

  describe "method aliases" do
    it "should be set properly and made public" do
      expect(:mention!).to be_a_public_method_of(@klass)
      expect(:unmention!).to be_a_public_method_of(@klass)
      expect(:mentions?).to be_a_public_method_of(@klass)
      expect(:mentioners_relation).to be_a_public_method_of(@klass)
      expect(:mentioners).to be_a_public_method_of(@klass)
      expect(:mentionables_relation).to be_a_public_method_of(@klass)
      expect(:mentionables).to be_a_public_method_of(@klass)
      expect(:remove_mentioners).to be_a_public_method_of(@klass)
      expect(:remove_mentionables).to be_a_public_method_of(@klass)
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
socialization-2.0.2 spec/stores/redis/mention_store_spec.rb
socialization-2.0.1 spec/stores/redis/mention_store_spec.rb
socialization-2.0.0 spec/stores/redis/mention_store_spec.rb
socialization-1.2.3 spec/stores/redis/mention_store_spec.rb
socialization-1.2.2 spec/stores/redis/mention_store_spec.rb
socialization-1.2.1 spec/stores/redis/mention_store_spec.rb
twrk-socialization-1.2.0 spec/stores/redis/mention_store_spec.rb
twrk-socialization-0.0.1 spec/stores/redis/mention_store_spec.rb
socialization-1.2.0 spec/stores/redis/mention_store_spec.rb