diff options
| author | Robert | 2017-06-26 12:41:57 +0200 |
|---|---|---|
| committer | Robert | 2017-06-26 12:41:57 +0200 |
| commit | 6c10034434d5855dfb1e6c5165880b4df0bcf1b4 (patch) | |
| tree | 9e94809b06303da33459126c78f88121700ffb1f | |
| parent | b059fe0ecaf76b9ae211e927a42c1bed3fcfa8bb (diff) | |
| download | chouette-core-6c10034434d5855dfb1e6c5165880b4df0bcf1b4.tar.bz2 | |
spring stubs created (spring stop needed); Fixes: #3874@1h
| -rwxr-xr-x | bin/rails | 5 | ||||
| -rwxr-xr-x | bin/rake | 5 | ||||
| -rw-r--r-- | spec/helpers/table_builder_helper_spec.rb | 1 |
3 files changed, 6 insertions, 5 deletions
@@ -1,7 +1,8 @@ #!/usr/bin/env ruby begin - load File.expand_path("../spring", __FILE__) -rescue LoadError + load File.expand_path('../spring', __FILE__) +rescue LoadError => e + raise unless e.message.include?('spring') end APP_PATH = File.expand_path('../../config/application', __FILE__) require_relative '../config/boot' @@ -1,7 +1,8 @@ #!/usr/bin/env ruby begin - load File.expand_path("../spring", __FILE__) -rescue LoadError + load File.expand_path('../spring', __FILE__) +rescue LoadError => e + raise unless e.message.include?('spring') end require_relative '../config/boot' require 'rake' diff --git a/spec/helpers/table_builder_helper_spec.rb b/spec/helpers/table_builder_helper_spec.rb index 32a6a3bfd..8f4d98c88 100644 --- a/spec/helpers/table_builder_helper_spec.rb +++ b/spec/helpers/table_builder_helper_spec.rb @@ -1,4 +1,3 @@ -require 'spec_helper' require 'htmlbeautifier' module TableBuilderHelper |
