<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Rails on Lin's Blog</title><link>https://coder.tw/en/tags/rails/</link><description>Recent content in Rails on Lin's Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 16 Jan 2017 20:32:53 +0000</lastBuildDate><atom:link href="https://coder.tw/en/tags/rails/index.xml" rel="self" type="application/rss+xml"/><item><title>Rails Capybara Feature Testing: A Diary of Pitfalls</title><link>https://coder.tw/en/posts/rails-feature-testing-diary/</link><pubDate>Mon, 16 Jan 2017 20:32:53 +0000</pubDate><guid>https://coder.tw/en/posts/rails-feature-testing-diary/</guid><description>&lt;p&gt;If I had to describe today in one line, it would be &amp;ldquo;I learned Capybara for the first time and immediately stepped on a landmine.&amp;rdquo; I spent a full six hours (or more) writing two simple tests, and ran into all sorts of funny landmines along the way. If I didn&amp;rsquo;t write a post about this disastrous day, I&amp;rsquo;d be too angry to sleep tonight. To be clear up front: this is my first time writing tests, so some of my understanding may be wrong or out of date. Please leave a comment and I&amp;rsquo;ll fix it right away. This isn&amp;rsquo;t a technical article. It&amp;rsquo;s a rant (angry!).&lt;/p&gt;</description></item></channel></rss>