Last active
December 18, 2015 06:09
-
-
Save inokappa/5737514 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSpec.configure do |c| | |
# 以下を追加 | |
c.path = '/sbin:/usr/sbin' | |
if ENV['ASK_SUDO_PASSWORD'] | |
require 'highline/import' | |
c.sudo_password = ask("Enter sudo password: ") { |q| q.echo = false } | |
else |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment