• My Portfolio

    If you're looking for a Web Developer, I may be able to help you. Take a look at my portfolio.

Cucumber tests failing – looked like it was using a different database

Just spent the morning tracking down an issue where a number of our cucumber tests were failing to find the database in the state that I had just set up with my step definitions. For example, I had a step definition: Given /I have (\d+) servers$/ do |num_servers|   UI::Server.delete_all;   num_servers.to_i.times {Factory.create(:server)} end When [...]

Share

Filed under: rails