Sha256: a6484ac8403c526da92f91dc650646051c3d378c33a5571e048f942853e60490
Contents?: true
Size: 577 Bytes
Versions: 3
Compression:
Stored size: 577 Bytes
Contents
require 'test_helper' class InstallGeneratorTest < Rails::Generators::TestCase tests Errational::Generators::InstallGenerator destination File.expand_path("../../tmp", __FILE__) def setup $stderr.stubs(:write) prepare_destination end def test_assert_all_files_are_properly_created run_generator ["RailsApp"] assert_file "config/initializers/errational_configuration.rb" assert_file "lib/errational/rails_app_error.rb" assert_file "lib/errational/rails_app_exception.rb" assert_file "app/views/errational/_error_dialog.js.erb" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
errational-0.12.04 | test/generators/install_generator_test.rb |
errational-0.9.09 | test/generators/install_generator_test.rb |
errational-0.8.16 | test/generators/install_generator_test.rb |