diff options
| author | Zog | 2018-05-28 10:56:16 +0200 |
|---|---|---|
| committer | Zog | 2018-05-28 10:56:16 +0200 |
| commit | a14ab8ed2c24ae52b8227c49b0b8e2126b46765c (patch) | |
| tree | f48a4fcb493fed69d2c77fc7f21d10f1939a2a15 | |
| parent | ac79e03aced3969df8626f15165a0f6e6f783295 (diff) | |
| download | chouette-core-a14ab8ed2c24ae52b8227c49b0b8e2126b46765c.tar.bz2 | |
Fix SimpleInterfaces specs
| -rw-r--r-- | app/models/simple_interfaces_group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/simple_interfaces_group.rb b/app/models/simple_interfaces_group.rb index 53e28c36a..1e13bd0b5 100644 --- a/app/models/simple_interfaces_group.rb +++ b/app/models/simple_interfaces_group.rb @@ -31,7 +31,7 @@ class SimpleInterfacesGroup name = "### #{self.name} ###" centered_name = " " * ([width - name.size, 0].max / 2) + name banner = [centered_name] - banner << "Output to: #{shared_options[:output_dir]}" if shared_options[:output_dir] + banner << "Output to: #{shared_options[:output_dir]}" if shared_options && shared_options[:output_dir] banner << "" banner << @interfaces.each_with_index.map do |interface, i| if interface[:interface].status.present? |
