cleans up

This commit is contained in:
rgarcia
2016-05-17 23:41:34 +02:00
committed by Javi Martín
parent b628631769
commit be757f79d0
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ feature "Stats" do
click_link campaign.name click_link campaign.name
end end
expect(page).to have_content "#{campaign.name}(1)" expect(page).to have_content "#{campaign.name} (1)"
within("#graph") do within("#graph") do
event_created_at = Ahoy::Event.where(name: campaign.name).first.time event_created_at = Ahoy::Event.where(name: campaign.name).first.time
expect(page).to have_content event_created_at.strftime("%Y-%m-%d") expect(page).to have_content event_created_at.strftime("%Y-%m-%d")