Sha256: 722424b1000c8808e3b02ed2b99a9a64feec8c75e8436be92f99b6ad8b4ede2f

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 Bytes

Contents

FactoryBot.define do
  factory :tunnel, class: 'SSHTunnel::UI::Models::Tunnel' do

    uuid        { '117aacde-5adf-4a6d-a0f9-5acdddf4a5b9' }
    name        { 'mysql' }
    type        { 'local' }
    local_host  { '127.0.0.1' }
    local_port  { 10000 }
    remote_host { '127.0.0.1' }
    remote_port { 3306 }

    factory :tunnel_wih_parent do
      parent { build(:host) }
    end
  end
end

Version data entries

3 entries across 2 versions & 1 rubygems

Version Path
ssh-hull-2.0 spec/factories/hull.rb
ssh-hull-2.0 spec/factories/tunnel.rb
ssh-hull-1.0.0 spec/factories/tunnel.rb