lambdaで囲む必要がありました。
lambda{ @anObj.aMethod }.should raise_error( TypeError )
こちらのページがとても参考になりました。
[Ruby][RSpec] RSpecでraise_errorマッチャの使いかたを勘違いしていた
感謝。
今日はじめて使った jQuery Tools Overlay。
http://flowplayer.org/tools/overlay/index.html
WebアプリケーションでPopupをスタイリッシュに見せたい場合に
適している。
// select one or more elements to be overlay triggers
$(".my_overlay_trigger").overlay({
// one configuration property
color: '#ccc',
// another property
top: 50
// ... the rest of the configuration properties
});
http://flowplayer.org/tools/overlay/index.html
WebアプリケーションでPopupをスタイリッシュに見せたい場合に
適している。
// select one or more elements to be overlay triggers
$(".my_overlay_trigger").overlay({
// one configuration property
color: '#ccc',
// another property
top: 50
// ... the rest of the configuration properties
});
リモートブランチを指定してcloneする方法
$ git clone -b origin /repos/my_proj.git other_master
ローカルでトピックブランチをつくる
$ git checkout -b mydev/topic123
Gitは良い^ ^
$ git clone -b origin /repos/my_proj.git other_master
ローカルでトピックブランチをつくる
$ git checkout -b mydev/topic123
Gitは良い^ ^