Sha256: 52491019ce3354fe83a55b2fe7c6323c11df0ce304532a3fcbad42419d9a9c80
Contents?: true
Size: 646 Bytes
Versions: 3
Compression:
Stored size: 646 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}/prov" expect(File).to exist(provisioners_dir) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
arkenstone-0.6.0 | spec/features/new_project_spec.rb |
arkenstone-0.5.2 | spec/features/new_project_spec.rb |
arkenstone-0.5.1 | spec/features/new_project_spec.rb |