Sha256: 77fcf947d7bdd60c5c24bfaae8c049af0b908b948355912e41cc224a0b7237d9
Contents?: true
Size: 457 Bytes
Versions: 3
Compression:
Stored size: 457 Bytes
Contents
require 'test_helper' require 'rails/generators/test_case' require 'generators/capistrano/nginx/config_generator' class GeneratorTest < Rails::Generators::TestCase tests Capistrano::Nginx::Generators::ConfigGenerator destination File.expand_path('../../tmp', __FILE__) setup :prepare_destination teardown { rm_rf(destination_root) } def test_generates_local_config_file run_generator assert_file 'config/deploy/nginx_conf.erb' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capistrano-nginx-0.1.0 | test/generator_test.rb |
capistrano-nginx-0.0.2 | test/generator_test.rb |
capistrano-nginx-0.0.1 | test/generator_test.rb |