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.2.30 spec/lib/default_shard_spec.rb
switchman-1.2.29 spec/lib/default_shard_spec.rb
switchman-1.2.28 spec/lib/default_shard_spec.rb
switchman-1.2.27 spec/lib/default_shard_spec.rb
switchman-1.2.26 spec/lib/default_shard_spec.rb
switchman-1.2.25 spec/lib/default_shard_spec.rb
switchman-1.2.24 spec/lib/default_shard_spec.rb
switchman-1.2.23 spec/lib/default_shard_spec.rb
switchman-1.2.22 spec/lib/default_shard_spec.rb
switchman-1.2.21 spec/lib/default_shard_spec.rb
switchman-1.2.20 spec/lib/default_shard_spec.rb
switchman-1.2.19 spec/lib/default_shard_spec.rb
switchman-1.2.18 spec/lib/default_shard_spec.rb
switchman-1.2.17 spec/lib/default_shard_spec.rb
switchman-1.2.16 spec/lib/default_shard_spec.rb
switchman-1.2.15 spec/lib/default_shard_spec.rb
switchman-1.2.14 spec/lib/default_shard_spec.rb
switchman-1.2.13 spec/lib/default_shard_spec.rb
switchman-1.2.12 spec/lib/default_shard_spec.rb
switchman-1.2.11 spec/lib/default_shard_spec.rb