diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-04-13 18:10:49 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-04-20 13:01:44 -0400 |
commit | 4d3a634ece99b95d45c356a470ca665b49d0c2c1 (patch) | |
tree | 825627523a5d7a18fca5bdc7d74b1010b1a25483 /spec/helpers | |
parent | b41eb345034ee450bf7a5b9f3d608a89b28c7a84 (diff) | |
download | gitlab-ce-4d3a634ece99b95d45c356a470ca665b49d0c2c1.tar.gz |
Fix broken spec
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/gitlab_markdown_helper_spec.rb | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb index 6a2ddf717a6..1f490ba2344 100644 --- a/spec/helpers/gitlab_markdown_helper_spec.rb +++ b/spec/helpers/gitlab_markdown_helper_spec.rb @@ -366,20 +366,10 @@ describe GitlabMarkdownHelper do to match(%r{Apply <em><a.+>!#{merge_request.iid}</a></em>}) end - it "should handle tables" do - skip "rspeicher - Aren't we just testing Redcarpet here?" - - actual = %Q{| header 1 | header 2 | -| -------- | -------- | -| cell 1 | cell 2 | -| cell 3 | cell 4 |} - - expect(markdown(actual)).to match(/\A<table/) - end - # CODE BLOCKS ------------------------------------------------------------- it "should leave code blocks untouched" do + allow(helper).to receive(:current_user).and_return(user) allow(helper).to receive(:user_color_scheme_class).and_return(:white) target_html = "<pre class=\"code highlight white plaintext\"><code>some code from $#{snippet.id}\nhere too\n</code></pre>\n" |