summaryrefslogtreecommitdiff
path: root/spec/commands/config_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/commands/config_spec.rb')
-rw-r--r--spec/commands/config_spec.rb5
1 files 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}"