Skip to content

Instantly share code, notes, and snippets.

@yteraoka
Last active December 20, 2015 19:49
Show Gist options
  • Save yteraoka/6186278 to your computer and use it in GitHub Desktop.
Save yteraoka/6186278 to your computer and use it in GitHub Desktop.
Ansible Tutorial の ServerSpec 設定例 (WordPress のチェック)
# coding: ascii-8bit
require 'spec_helper'
describe command('/usr/bin/curl -s http://localhost/wp-admin/install.php') do
it { should return_stdout /5分でできる WordPress の有名なインストールプロセスへようこそ/ }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment