Permalink
Browse files

Remove some warnings

  • Loading branch information...
Rafael Mendonça França
Rafael Mendonça França committed Oct 27, 2012
1 parent b6f1773 commit e20ffdb8fbbf46e01753d7c0027925585124aa6e
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/support/sass_rails_test_case.rb
@@ -67,8 +67,8 @@ def within_rails_app(name, without_gems = [], gem_options = $gem_options)
Dir.mktmpdir do |tmpdir|
FileUtils.cp_r "#{sourcedir}/.", tmpdir
Dir.chdir(tmpdir) do
- gem_options.each {|name, options| modify_gem_entry name, options}
- without_gems.each {|name| remove_gem name}
+ gem_options.each { |gem_name, options| modify_gem_entry gem_name, options }
+ without_gems.each { |gem_name| remove_gem name }
FileUtils.rm("Gemfile.lock") if File.exist?("Gemfile.lock")
runcmd "bundle install --verbose"
runcmd "bundle exec rake db:create --trace"
@@ -142,7 +142,7 @@ def runcmd(cmd, working_directory = Dir.pwd, clean_env = true, gemfile = "Gemfil
env["BUNDLE_GEMFILE"] = "#{working_directory}/#{gemfile}" if clean_env
todo = Proc.new do
r, w = IO.pipe
- pid = Kernel.spawn(env, cmd, :out =>w , :err => w, :chdir => working_directory)
+ Kernel.spawn(env, cmd, :out => w , :err => w, :chdir => working_directory)
w.close
Process.wait
output = r.read

0 comments on commit e20ffdb

Please sign in to comment.