cosmetics
require 'minitest/rails/capybara'
Add rake task of test:features
cosmetics
Add gem "m"
Add feature test for show ideas
scenario "Add new idea"
Add gem 'minitest-power_assert'
Use minitest-power_assert

流石にCapybaraのテストは capybara_minitest_spec にあるような matchers を使うようが簡単そう。

次のように落ちる。頑張ればなぜ落ちたかわかるだろうが、消して読みやすいとは言えない...。

```
      assert { page.body.to_s =~ /\AIdea was successfully created.\z/ }
               |         |    |
               |         |    nil
               |         "<!DOCTYPE html><html><head><title>MinitestTraining</title><link data-turbolinks-track=\"true\" href=\"/assets/application.css\" media=\"all\" rel=\"stylesheet\" /><script data-turbolinks-track=\"true\" src=\"/assets/application.js\"></script></head><body><p id=\"notice\">Idea was successfully created.</p><p><strong>Name:</strong>すごいアイディア</p><p><strong>Description:</strong>プリンに醤油をかけるとウニの味がする</p><p><strong>Picture:</strong>pudding_shoyu.jpg</p><a href=\"/ideas/980190963/edit\">Edit</a>| <a href=\"/ideas\">Back</a></body></html>"
               #<Capybara::Session>
  /home/kbaba/.rbenv/versions/2.1.3/lib/ruby/2.1.0/minitest/unit.rb:202:in `assert'
```