-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX: BBCode parsing specs #575
Conversation
end | ||
|
||
it "works with status attribute" do | ||
post = create_post_with_event(user, 'status="private"').reload | ||
expect(post.event.status).to eq(DiscoursePostEvent::Event.statuses[:private]) | ||
|
||
post = create_post_with_event(user, 'status=""').reload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed these specs which aren't supported anymore.
end | ||
|
||
it "works with url attribute" do | ||
url = "https://www.discourse.org" | ||
|
||
post = create_post_with_event(user, "url=\"#{url}\"").reload | ||
expect(post.event.url).to eq(url) | ||
|
||
post = create_post_with_event(user, 'url=""').reload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed these specs which aren't supported anymore.
expect(post.event.raw_invitees).to match_array(%w[euro america]) | ||
|
||
post = create_post_with_event(user, 'status="private" allowedGroups=""').reload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed these specs which aren't supported anymore.
expect(post.event.raw_invitees).to eq([]) | ||
|
||
post = create_post_with_event(user, 'status="private" allowedGroups=').reload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed these specs which aren't supported anymore.
Requires discourse/discourse#27173 to be merged. Will add a `.discourse-compatibility` once merged.
8bac689
to
190765d
Compare
Requires discourse/discourse#27173 to be merged.
Will add a
.discourse-compatibility
once merged.