Sha256: c1b3bc6fb07fd7a0db69ed599e842433bc87794bae7c42d1c44798e0b98530b1

Contents?: true

Size: 456 Bytes

Versions: 60

Compression:

Stored size: 456 Bytes

Contents

require "spec_helper"

module Switchman
  describe DefaultShard do
    context "sharding" do
      include RSpecHelper

      it "should be equivalent to a real default shard" do
        expect(Shard.default).to be_is_a(Shard)
        expect(DefaultShard.send(:new)).to eq Shard.default
      end
    end

    it "all defaultshards should be equivalent to each other" do
      expect(DefaultShard.send(:new)).to eq DefaultShard.send(:new)
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
switchman-1.5.2 spec/lib/default_shard_spec.rb
switchman-1.5.1 spec/lib/default_shard_spec.rb
switchman-1.5.0 spec/lib/default_shard_spec.rb
switchman-1.4.4 spec/lib/default_shard_spec.rb
switchman-1.4.3 spec/lib/default_shard_spec.rb
switchman-1.4.2 spec/lib/default_shard_spec.rb
switchman-1.4.1 spec/lib/default_shard_spec.rb
switchman-1.4.0 spec/lib/default_shard_spec.rb
switchman-1.3.18 spec/lib/default_shard_spec.rb
switchman-1.3.17 spec/lib/default_shard_spec.rb
switchman-1.3.14.pre.1 spec/lib/default_shard_spec.rb
switchman-1.3.13.pre.1 spec/lib/default_shard_spec.rb
switchman-1.3.16 spec/lib/default_shard_spec.rb
switchman-1.3.15 spec/lib/default_shard_spec.rb
switchman-1.3.14 spec/lib/default_shard_spec.rb
switchman-1.3.13 spec/lib/default_shard_spec.rb
switchman-1.3.12 spec/lib/default_shard_spec.rb
switchman-1.3.11 spec/lib/default_shard_spec.rb
switchman-1.3.10 spec/lib/default_shard_spec.rb
switchman-1.3.9 spec/lib/default_shard_spec.rb