summaryrefslogtreecommitdiff
path: root/spec/support/builders.rb
diff options
context:
space:
mode:
authorAsutosh Palai <asupalai@gmail.com>2016-06-30 17:40:02 +0530
committerAsutosh Palai <asupalai@gmail.com>2016-07-03 09:41:58 +0530
commitc2154b0a44a71611c0aee9c4a6b8d6bd38973ecd (patch)
tree2ea826da357068dc3533fbc2709b701195b14b3b /spec/support/builders.rb
parentb9b2600fb900a342a7fff8dcdf9153909b7e983e (diff)
downloadbundler-c2154b0a44a71611c0aee9c4a6b8d6bd38973ecd.tar.gz
Added to api/source
Diffstat (limited to 'spec/support/builders.rb')
-rw-r--r--spec/support/builders.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/builders.rb b/spec/support/builders.rb
index 99acadc5d0..d091ff69a9 100644
--- a/spec/support/builders.rb
+++ b/spec/support/builders.rb
@@ -532,7 +532,7 @@ module Spec
@spec.executables.each do |file|
executable = "#{@spec.bindir}/#{file}"
@spec.files << executable
- write executable, "#!/usr/bin/env ruby\nrequire '#{@name}' ; puts #{@name.upcase}"
+ write executable, "#!/usr/bin/env ruby\nrequire '#{@name}' ; puts #{Builders.constantize(@name)}"
end
end