summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-05-10 20:26:03 -0700
committerAndre Arko <andre@arko.net>2015-05-11 13:08:46 -0700
commit6dacb9a136573cc0df586fa088e60094ee5ed8c0 (patch)
tree6b11dcad4f590241364bc1796fc94776f6dd0ae0
parentd65d78e52105a68a571aa524fd929bcbfe641540 (diff)
downloadbundler-6dacb9a136573cc0df586fa088e60094ee5ed8c0.tar.gz
remove double let
-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}"