features/step_definitions/query_steps.rb in oculus-0.5.0 vs features/step_definitions/query_steps.rb in oculus-0.8.0

- old
+ new

@@ -1,6 +1,10 @@ Given /^a query is cached with results:$/ do |results| - Oculus::Query.create(:name => "all users", :query => "SELECT * FROM oculus_users", :results => results.raw) + Oculus::Query.create(:name => "all users", + :query => "SELECT * FROM oculus_users", + :results => results.raw, + :started_at => Time.now, + :finished_at => Time.now) end Given /^I am on the history page$/ do visit '/history' end