From a14ab8ed2c24ae52b8227c49b0b8e2126b46765c Mon Sep 17 00:00:00 2001 From: Zog Date: Mon, 28 May 2018 10:56:16 +0200 Subject: Fix SimpleInterfaces specs --- app/models/simple_interfaces_group.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? -- cgit v1.2.3