Sha256: 7097cc95e5ba878650116a84643bfefbc9d54cf600eab71b1d4bbb0507ac46f3
Contents?: true
Size: 538 Bytes
Versions: 2
Compression:
Stored size: 538 Bytes
Contents
require 'spec_helper' describe Redde::Generators::DeployGenerator do include GeneratorSpec::TestCase destination File.expand_path("../../../tmp", __FILE__) arguments %w(127.0.0.1 redde.ru) before(:all) do prepare_destination run_generator end after(:all) do FileUtils.rm_rf 'tmp' end describe "deploy" do it "creates a test initializer" do # check capfile and deploy.rb assert_file "Capfile" assert_file "config/deploy.rb" assert_directory "config/recipes" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redde-0.1.1 | spec/generators/deploy_generator_spec.rb |
redde-0.1.0 | spec/generators/deploy_generator_spec.rb |