require_relative 'spec_helper'

describe 'pentester::webshell' do
  let(:subject) do
    ChefSpec::SoloRunner.new.converge(described_recipe)
  end

  it 'sync git[/opt/webshell]' do
    expect(subject).to sync_git('/opt/webshell')
      .with(repository: 'https://github.com/tennc/webshell',
            reference: 'master')
  end
end
