describe "hogehoge"
context "case A" do
before do
@user = User.guest
end
# test cases
end
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
# | |
# Rake task source lister | |
# | |
# Install: | |
# put this file on ${HOME}/.rake directory | |
# | |
# Usage: | |
# rake -g source_list | |
# rake -g 'source_list[task_name]' | |
# |
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
#!/bin/sh | |
# | |
# Simple startup script for Apache | |
# | |
# chkconfig: 345 85 15 | |
# description: Apache | |
# processname: httpd | |
# | |
. /etc/init.d/functions |
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
cat <<-'EOS' > /tmp/chihayafuru | |
ちはやふる | |
かみよもきかす | |
たつたかは | |
からくれなゐに | |
みつくくるとは | |
EOS | |
# * 'EOS'とシングルクォートで囲むとヒアドキュメント内の式展開無効 | |
# * <<- の "-" は行頭のタブを無視するオプション |
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
# | |
# Rake task hierarchical parser | |
# | |
# Install: | |
# put this file on ${HOME}/.rake directory | |
# | |
# Usage: | |
# rake -g dependency | |
# rake -g 'dependency[task_name]' | |
# |