<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Bryan Helmkamp - Switching Webrat to Selenium mode Comments</title>
  <id>tag:www.brynary.com,2009:/2009/4/6/switching-webrat-to-selenium-mode/comments</id>
  <generator version="0.8.0" uri="http://mephistoblog.com">Mephisto Drax</generator>
  <link href="http://www.brynary.com/2009/4/6/switching-webrat-to-selenium-mode/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2009/4/6/switching-webrat-to-selenium-mode" rel="alternate" type="text/html"/>
  <updated>2009-05-17T21:00:55Z</updated>
  <entry xml:base="http://www.brynary.com/">
    <author>
      <name>My maps</name>
    </author>
    <id>tag:www.brynary.com,2009-04-06:1129:1157</id>
    <published>2009-05-17T21:00:55Z</published>
    <updated>2009-05-17T21:00:55Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.brynary.com/2009/4/6/switching-webrat-to-selenium-mode" rel="alternate" type="text/html"/>
    <title>Comment on 'Switching Webrat to Selenium mode' by My maps</title>
<content type="html">&lt;p&gt;Blog added to my favorites! :-)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.brynary.com/">
    <author>
      <name>Doug</name>
    </author>
    <id>tag:www.brynary.com,2009-04-06:1129:1135</id>
    <published>2009-04-17T18:59:24Z</published>
    <updated>2009-04-17T18:59:24Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.brynary.com/2009/4/6/switching-webrat-to-selenium-mode" rel="alternate" type="text/html"/>
    <title>Comment on 'Switching Webrat to Selenium mode' by Doug</title>
<content type="html">&lt;p&gt;@SayYesToTest: if transactional fixtures are on, any changes to the database will be inside a transaction and invisible to the mongrel that is serving the pages.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.brynary.com/">
    <author>
      <name>Doug</name>
    </author>
    <id>tag:www.brynary.com,2009-04-06:1129:1134</id>
    <published>2009-04-17T18:59:10Z</published>
    <updated>2009-04-17T18:59:10Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.brynary.com/2009/4/6/switching-webrat-to-selenium-mode" rel="alternate" type="text/html"/>
    <title>Comment on 'Switching Webrat to Selenium mode' by Doug</title>
<content type="html">&lt;p&gt;@SayYesToTest: if transactional fixtures are on, any changes to the database will be inside a transaction and invisible to the mongrel that is serving the pages.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.brynary.com/">
    <author>
      <name>Zubin</name>
    </author>
    <id>tag:www.brynary.com,2009-04-06:1129:1133</id>
    <published>2009-04-09T03:18:14Z</published>
    <updated>2009-04-09T03:18:14Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.brynary.com/2009/4/6/switching-webrat-to-selenium-mode" rel="alternate" type="text/html"/>
    <title>Comment on 'Switching Webrat to Selenium mode' by Zubin</title>
<content type="html">&lt;p&gt;Thanks Bryan, I was stuck on this just the other day!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.brynary.com/">
    <author>
      <name>SayYesToTest</name>
    </author>
    <id>tag:www.brynary.com,2009-04-06:1129:1132</id>
    <published>2009-04-08T15:27:34Z</published>
    <updated>2009-04-08T15:27:34Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.brynary.com/2009/4/6/switching-webrat-to-selenium-mode" rel="alternate" type="text/html"/>
    <title>Comment on 'Switching Webrat to Selenium mode' by SayYesToTest</title>
<content type="html">&lt;p&gt;I can&#8217;t seem to figure out why use_transactional_fixtures needs to be set to false.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.brynary.com/">
    <author>
      <name>Victor Moroz</name>
    </author>
    <id>tag:www.brynary.com,2009-04-06:1129:1131</id>
    <published>2009-04-07T10:06:49Z</published>
    <updated>2009-04-07T10:06:49Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.brynary.com/2009/4/6/switching-webrat-to-selenium-mode" rel="alternate" type="text/html"/>
    <title>Comment on 'Switching Webrat to Selenium mode' by Victor Moroz</title>
<content type="html">&lt;p&gt;Logging in 0.4.4 is great! If I knew it two hours ago&#8230;&lt;/p&gt;


	&lt;p&gt;It is worth mentioning for us, poor linux fellows who use Firefox 3 (location of binary may vary for other dists, mine is Gentoo):&lt;/p&gt;


&lt;code&gt;
Webrat.configure do |config|
  ...

  config.selenium_browser_key = '*firefox3 /opt/firefox/firefox-bin'
end
&lt;/code&gt;</content>  </entry>
  <entry xml:base="http://www.brynary.com/">
    <author>
      <name>Ben Mabey</name>
    </author>
    <id>tag:www.brynary.com,2009-04-06:1129:1130</id>
    <published>2009-04-06T19:55:49Z</published>
    <updated>2009-04-06T19:55:49Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.brynary.com/2009/4/6/switching-webrat-to-selenium-mode" rel="alternate" type="text/html"/>
    <title>Comment on 'Switching Webrat to Selenium mode' by Ben Mabey</title>
<content type="html">&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;FYI&lt;/span&gt; for everyone following Bryan&#8217;s instructions&#8230; By turning transactional_fixtures off you will need to clean your database manually with cucumber&#8217;s After or Before hooks.  (i.e truncate your DB.)  I have a gem that makes this even easier.  Just add this to your env.rb:&lt;/p&gt;


&lt;pre&gt;
require 'database_cleaner'
require 'database_cleaner/cucumber'
DatabaseCleaner.strategy = :truncation
&lt;/pre&gt;

	&lt;p&gt;You can get the gem and learn more &lt;a href=&quot;http://github.com/bmabey/database_cleaner/tree/master&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;</content>  </entry>
</feed>
