title: Cucumber: scenario creating entry and deleting it before test => failure
body: <p>I'm newbie in cucumber and I'm struggling with it in my Rails 3 app :)</p>
  
  <p>Here are the gems included in my gemfile: cucumber, cucumber-rails, rspec, rspec-rails, capybara, capybara-envjs, database_cleaner, launchy</p>
  
  <p>I set up the following:</p>
  
  <pre><code>require 'capybara/envjs'
  Capybara.javascript_driver = :envjs
  </code></pre>
  
  <p>In my website, it's possible for anyone to subscribe to the news letter. It works fine through ajax and displays a nice growl-like message:</p>
  
  <ul>
  <li>mail valid => Welcome...</li>
  <li>mail invalid => Oops...</li>
  </ul>
  
  <p>The following scenario works fine, when I comment the line: <code>I should have 1 mail in my mailing list</code>. </p>
  
  <p>With this line, I have the following error message: <code>And I should have 1 mail in my mailing list                 # features/step_definitions/mailing_steps.rb:1
        expected: 1,
             got: 0 (using ==) (RSpec::Expectations::ExpectationNotMetError)</code></p>
  
  <pre><code>@javascript
  Scenario: Entering Valid Mail
  Given I am on the about page
  When  I fill in "mailing[mail]" with "cucumber@cucumber.com"
  And   I press "REGISTER"
  Then  I should be on the about page
  And   I should have 1 mail in my mailing list
  And   I should see "Welcome" within "#gritter-notice-wrapper"
  </code></pre>
  
  <p>Here is the step I added:</p>
  
  <pre><code>Then /^I should have ([0-9]+) mail in my mailing list?$/ do |count|
    Mailing.count.should == count.to_i
  end
  </code></pre>
  
  <p>Maybe it's due to database cleaner but I kept the default configuration :truncation</p>
  
  <p>Any idea please?</p>
  
  <p>PS: I should add that refreshing my database like a moron, I see the mail first added then being deleted.</p>