Commit b18f2302 authored by dgt's avatar dgt

Remove randomness from tagging in fixtures

we had unused tags left after testing, because one tag was not sampled
having valid fixtures might help us finding out why unused tags seem to be suggested in production
parent f7725bc2
......@@ -4,13 +4,12 @@
##%>
---
<%
srand(314159265359)
page_count = 10
tags = %w(joy trust fear surprise sadness disgust anger happiness love anticipation)
tags += tags.reverse
%>
<% page_count.times do |page_id| %>
<% 2.times do %>
<% tag = tags.sample %>
<% tags.each do |tag| %>
<%= "#{tag}_#{page_id}" %>:
tag: <%= tag %>
taggable_id: <%= page_id %>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment