From 6dacb9a136573cc0df586fa088e60094ee5ed8c0 Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Sun, 10 May 2015 20:26:03 -0700 Subject: remove double let --- spec/commands/config_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/commands/config_spec.rb b/spec/commands/config_spec.rb index cd1f23e4a0..5a4213a666 100644 --- a/spec/commands/config_spec.rb +++ b/spec/commands/config_spec.rb @@ -250,17 +250,16 @@ E describe "very long lines" do before(:each) { bundle :install } + let(:long_string) do "--with-xml2-include=/usr/pkg/include/libxml2 --with-xml2-lib=/usr/pkg/lib " \ "--with-xslt-dir=/usr/pkg" end + let(:long_string_without_special_characters) do "here is quite a long string that will wrap to a second line but will not be " \ "surrounded by quotes" end - let(:long_string_without_special_characters) do - "here is quite a long string that will wrap to a second line but will not be surrounded by quotes" - end it "doesn't wrap values" do bundle "config foo #{long_string}" -- cgit v1.2.1