<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a666666</author_name>
  <author_url>https://blog.hatena.ne.jp/a666666/</author_url>
  <blog_title>@kyanny's blog</blog_title>
  <blog_url>https://blog.kyanny.me/</blog_url>
  <categories>
  </categories>
  <description>rake-confirm という gem を作ってもらったのでさっそく使ってみたところ、 db:rollback と db:fixtures:load も production 環境でのうっかり実行を防ぎたかったので Pull Request を送った。テストのない Pull Request は reject されそうだなあと思ったので、 Rake の task はどうテストしたらいいのか調べてみたところ、 rake-confirm は Rake::Task#enhance を使って事前タスクというものを追加している Rake::Task#prerequisites というメソッドは、タスクに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F2012%2F05%2F11%2F032528&quot; title=&quot;Rake の task に対する spec の書き方 - @kyanny&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-05-11 03:25:28</published>
  <title>Rake の task に対する spec の書き方</title>
  <type>rich</type>
  <url>https://blog.kyanny.me/entry/2012/05/11/032528</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
