Skip to content

Commit

Permalink
unique nids in revisions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored Dec 16, 2020
1 parent 4128bb1 commit 5b387b6
Showing 1 changed file with 112 additions and 113 deletions.
225 changes: 112 additions & 113 deletions test/fixtures/revisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,100 +88,6 @@ first_timer_note:
title: My very first post to Public Lab
body: I'm new here -- whoa!

hashtag_one:
nid: 1
uid: 1
title: Hashtag post
body: |+
#Heading 1
Something about hashtag
Here is a #hashtag
hashtag_two:
nid: 1
uid: 1
title: Ignore headings as hasgtag
body: |+
#Heading 1
Some text on hashtag
#Heading 2
There is no hashtag in this post
hashtag_three:
nid: 1
uid: 1
title: Ignores multiple same hashtags
body: |+
# Heading 1
Here is a #hashtag
# Heading 2
Here is another #hashtag
hashtag_four:
nid: 1
uid: 1
title: Ignores pure numbers
body: |+
# Heading 1
Here is a #1234
# Heading 2
Here is another #hashtag
hashtag_with_hyphens:
nid: 2
uid: 2
title: Hashtag post with hypen
body: |+
Something about hashtag
Here is a hashtag with hyphen #purple-air-ok
hashtag_with_punctuation:
nid: 1
uid: 1
title: Ignores punctuation in hashtags
body: |+
# Heading 1
Here is a #hashtag1, and another #hashtag2!
# Heading 2
Here is another #hashtag3.
hashtag_in_header:
nid: 1
uid: 1
title: grabs hashtags in headers
body: |+
# Heading 1 is about #hashtags
Here is the message
subheader:
nid: 1
uid: 1
title: ignores subheaders
body: |+
##subheader 1
hashtag_in_link:
nid: 1
uid: 1
title: ignores hashtags in links
body: |+
[#hashtag in links](/)
hashtag_in_url:
nid: 1
uid: 1
title: ignores hashtags in url
body: |+
[tags in URLs](/mypage#tags)
email:
nid: 1
uid: 1
title: Email links
body: >
[![admin_tooltip.png](//i.publiclab.org/system/images/photos/000/016/229/large/admin_tooltip.png)]
(//i.publiclab.org/system/images/photos/000/016/229/original/admin_tooltip.png)
question:
nid: 8
uid: 2
Expand Down Expand Up @@ -261,24 +167,6 @@ draft:
title: "Draft note"
body: This is draft note.

checkbox_one:
nid: 1
uid: 1
title: Should render an unchecked checkbox
body: |+
# Heading 1
List of things
* [ ]
checkbox_two:
nid: 1
uid: 1
title: Should render a checked checkbox
body: |+
# Heading 1
List of things
* [x]
email_body:
nid: 22
uid: 1
Expand Down Expand Up @@ -418,4 +306,115 @@ comment_note: # for testing comments on notes
body: "I beg you, please"
timestamp: <%= DateTime.new(2020,12,8).to_i %>
status: 1


checkbox_one:
nid: 39
uid: 1
title: Should render an unchecked checkbox
body: |+
# Heading 1
List of things
* [ ]
checkbox_two:
nid: 40
uid: 1
title: Should render a checked checkbox
body: |+
# Heading 1
List of things
* [x]
hashtag_one:
nid: 41
uid: 1
title: Hashtag post
body: |+
#Heading 1
Something about hashtag
Here is a #hashtag
hashtag_two:
nid: 42
uid: 1
title: Ignore headings as hasgtag
body: |+
#Heading 1
Some text on hashtag
#Heading 2
There is no hashtag in this post
hashtag_three:
nid: 43
uid: 1
title: Ignores multiple same hashtags
body: |+
# Heading 1
Here is a #hashtag
# Heading 2
Here is another #hashtag
hashtag_four:
nid: 44
uid: 1
title: Ignores pure numbers
body: |+
# Heading 1
Here is a #1234
# Heading 2
Here is another #hashtag
hashtag_with_hyphens:
nid: 45
uid: 2
title: Hashtag post with hypen
body: |+
Something about hashtag
Here is a hashtag with hyphen #purple-air-ok
hashtag_with_punctuation:
nid: 46
uid: 1
title: Ignores punctuation in hashtags
body: |+
# Heading 1
Here is a #hashtag1, and another #hashtag2!
# Heading 2
Here is another #hashtag3.
hashtag_in_header:
nid: 47
uid: 1
title: grabs hashtags in headers
body: |+
# Heading 1 is about #hashtags
Here is the message
subheader:
nid: 48
uid: 1
title: ignores subheaders
body: |+
##subheader 1
hashtag_in_link:
nid: 49
uid: 1
title: ignores hashtags in links
body: |+
[#hashtag in links](/)
hashtag_in_url:
nid: 50
uid: 1
title: ignores hashtags in url
body: |+
[tags in URLs](/mypage#tags)
email:
nid: 51
uid: 1
title: Email links
body: >
[![admin_tooltip.png](//i.publiclab.org/system/images/photos/000/016/229/large/admin_tooltip.png)]
(//i.publiclab.org/system/images/photos/000/016/229/original/admin_tooltip.png)

0 comments on commit 5b387b6

Please sign in to comment.