Sha256: add0a17bec54396681f169ce0426115b333fe4b20b595f6cdebeb486d91fc01a
Contents?: true
Size: 535 Bytes
Versions: 6
Compression:
Stored size: 535 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
6 entries across 6 versions & 1 rubygems