ytti/oxidized

View on GitHub
spec/model/linuxgeneric_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage
require_relative 'model_helper'

describe 'model/LinuxGeneric' do
  before(:each) do
    init_model_helper
    @node = Oxidized::Node.new(name:  'example.com',
                               input: 'ssh',
                               model: 'linuxgeneric')
  end

  it 'matches different prompts' do
    _('robert@gap:~$ ').must_match LinuxGeneric.prompt
  end
end