Sha256: 37088801f391207c8c24e28cc963a393f0132d3000d8a7ec18d0bd34c738b5fb

Contents?: true

Size: 495 Bytes

Versions: 3

Compression:

Stored size: 495 Bytes

Contents

require "spec_helper"

RSpec.describe "Generating a new project with the Ansible provisioner" do
  before(:example) do
    remove_dummy_app
    run_arkenstone("--provisioner=ansible")
  end

  it "correctly configures Vagrant" do
    vagrantfile = File.read("#{app_path}/Vagrantfile")

    expect(vagrantfile).to include('config.vm.provision "ansible"')
  end

  it "copies the ansible directory" do
    ansible_dir = "#{app_path}/prov/ansible"

    expect(File).to exist(ansible_dir)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arkenstone-0.6.0 spec/features/new_project_with_ansible_spec.rb
arkenstone-0.5.2 spec/features/new_project_with_ansible_spec.rb
arkenstone-0.5.1 spec/features/new_project_with_ansible_spec.rb