Sha256: d904b1d777caab6351c111be8817460de5f3d412c467badbd8c4b0701cc73b40
Contents?: true
Size: 662 Bytes
Versions: 2
Compression:
Stored size: 662 Bytes
Contents
require "spec_helper" RSpec.describe "Generating a new project" do before(:example) do remove_dummy_app run_arkenstone end it "creates a Vagrantfile" do vagrantfile = "#{app_path}/Vagrantfile" expect(File).to exist(vagrantfile) end it "forwards the default Rails server port" do vagrantfile = File.read("#{app_path}/Vagrantfile") config_string = 'config.vm.network "forwarded_port", guest: 3000, host: 3001' expect(vagrantfile).to include(config_string) end it "creates the provisioners directory" do provisioners_dir = "#{app_path}/provisioners/ansible" expect(File).to exist(provisioners_dir) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arkenstone-0.3.0 | spec/features/new_project_spec.rb |
arkenstone-0.2.0 | spec/features/new_project_spec.rb |