Sha256: cb919d1eab40405990488d6f0487d7a467bdb75294e9087cb0ed3581aa145b6d

Contents?: true

Size: 1.12 KB

Versions: 13

Compression:

Stored size: 1.12 KB

Contents

default:
  context:
    node_name: '@node'
    node: 'cleanWater'
    visitor: 'ant'
  src: "comments order by created_at desc"
  sql: "Comment: [\"SELECT comments.* FROM comments WHERE comments.discussion_id = ? ORDER BY comments.created_at DESC\", @node.get_discussion_id]"

comments_from_nodes_in_site:
  sql: "Comment: \"SELECT comments.* FROM nodes,discussions,comments WHERE comments.discussion_id = discussions.id AND discussions.node_id = nodes.id AND (#{@node.secure_scope('nodes')}) ORDER BY comments.created_at ASC\""
  res: "Comment: I agree, I think this is bad, OK for me, Why ?, Travailleurs, unissez-vous !, Nice site, What about rivers ?, re: What about rivers ?"

does_not_see_secret:
  context:
    visitor: ant
  src: "comments from nodes in site"
  sql: "Comment: \"SELECT comments.* FROM nodes,discussions,comments WHERE comments.discussion_id = discussions.id AND discussions.node_id = nodes.id AND (#{@node.secure_scope('nodes')}) ORDER BY comments.created_at ASC\""
  res: "Comment: I agree, I think this is bad, OK for me, Why ?, Travailleurs, unissez-vous !, Nice site, What about rivers ?, re: What about rivers ?"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
zena-0.16.9 test/helpers/query_node/comments.yml
zena-0.16.8 test/helpers/query_node/comments.yml
zena-0.16.7 test/helpers/query_node/comments.yml
zena-0.16.6 test/helpers/query_node/comments.yml
zena-0.16.5 test/helpers/query_node/comments.yml
zena-0.16.4 test/helpers/query_node/comments.yml
zena-0.16.3 test/helpers/node_query/comments.yml
zena-0.16.2 test/helpers/node_query/comments.yml
zena-0.16.1 test/helpers/node_query/comments.yml
zena-0.16.0 test/helpers/node_query/comments.yml
zena-0.15.2 test/helpers/node_query/comments.yml
zena-0.15.1 test/helpers/node_query/comments.yml
zena-0.15.0 test/helpers/node_query/comments.yml