Sha256: 499bc6a8fc31672a62d4afd6461389a5f086c702a11e1b2eba7c6fe9d6e6e522
Contents?: true
Size: 505 Bytes
Versions: 6
Compression:
Stored size: 505 Bytes
Contents
RSpec.describe Dryad::Core::Service do it "create with default options" do service = Dryad::Core::Service.new expect(service.type_name).to eq(Dryad::Core::Service::TYPE) expect(service.portals).to eq([]) expect(service.load_balancing).to eq([]) end it "create with options" do service = Dryad::Core::Service.new(name: "rails", address: "localhost", group: "staging", priority: 10) expect(service.name).to eq("rails") expect(service.address).to eq("localhost") end end
Version data entries
6 entries across 6 versions & 1 rubygems