New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure the message for "sudo" pass prompt #256

Merged
merged 2 commits into from Sep 25, 2013

Conversation

Projects
None yet
3 participants
@aibou
Contributor

aibou commented Sep 25, 2013

サーバの環境によって,sudoのパスメッセージがPassword:のときもあるため,spec_helper.rbで設定できるようにしました.

RSpec.configure do |c|
  c.pass_prompt = /^Password/
  # or
  c.pass_prompt = "^Password"
end

何も設定しなければ,従来の/^\[sudo\] password for/ が設定されるようにしております.

@coveralls

This comment has been minimized.

Show comment
Hide comment
@coveralls

coveralls Sep 25, 2013

Coverage Status

Coverage increased (+95.83%) when pulling 79533a3 on aibou:master into e7ff023 on serverspec:master.

coveralls commented Sep 25, 2013

Coverage Status

Coverage increased (+95.83%) when pulling 79533a3 on aibou:master into e7ff023 on serverspec:master.

@mizzy

This comment has been minimized.

Show comment
Hide comment
@mizzy

mizzy Sep 25, 2013

Owner

これはとても良いですね!ありがとうございます!

Owner

mizzy commented Sep 25, 2013

これはとても良いですね!ありがとうございます!

mizzy added a commit that referenced this pull request Sep 25, 2013

Merge pull request #256 from aibou/master
configure the message for "sudo" pass prompt

@mizzy mizzy merged commit ed692bb into mizzy:master Sep 25, 2013

1 check passed

default The Travis CI build passed
Details
@mizzy

This comment has been minimized.

Show comment
Hide comment
@mizzy

mizzy Sep 25, 2013

Owner

coverallsのやつは気にしないでください。こちらのテストの構造の問題で、カバレッジが正常に表示できていないので。

Owner

mizzy commented Sep 25, 2013

coverallsのやつは気にしないでください。こちらのテストの構造の問題で、カバレッジが正常に表示できていないので。

@aibou

This comment has been minimized.

Show comment
Hide comment
@aibou

aibou Sep 25, 2013

Contributor

ありがとうございました!

Contributor

aibou commented Sep 25, 2013

ありがとうございました!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment