summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests.commit-projectDouwe Maan2015-04-241-3/+3
|
* Fix small issues.Douwe Maan2015-04-241-2/+3
|
* Link cross-project cross-reference notes to correct project.Douwe Maan2015-04-244-21/+21
|
* No longer needed to pass project argument to commit methods.Douwe Maan2015-04-241-2/+2
|
* Use project.commit convenience method.Douwe Maan2015-04-2415-25/+25
|
* Let commit model know about its project.Douwe Maan2015-04-241-3/+3
|
* Merge branch 'rs-mentionable-examples-refactor' into 'master'Dmitriy Zaporozhets2015-04-236-52/+83
|\ | | | | | | | | | | | | | | | | | | Update mentionable shared examples to be (a bit) more understandable These shared examples were super confusing, and honestly still kind of are, but they should be a bit better now. I encountered a bunch of headaches in these examples while refactoring ReferenceExtractor, so that's how I ended up changing it. See merge request !1780
| * Minor mentionable shared example changeRobert Speicher2015-04-161-2/+2
| |
| * Update mentionable shared examples to be (a bit) more understandableRobert Speicher2015-04-162-43/+70
| |
| * Correct usage of `subject` in specsRobert Speicher2015-04-166-7/+11
| |
* | Merge branch 'master' into new-sidebarDmitriy Zaporozhets2015-04-2323-791/+1506
|\ \ | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: app/controllers/snippets_controller.rb
| * \ Merge branch 'rs-reply-hotkey' into 'master'Dmitriy Zaporozhets2015-04-226-71/+108
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Reply quoting selected text" shortcut/hotkey Adds the <kbd>r</kbd> hotkey for quoting selected text on Issuable forms. This MR also updates the jasmine gem and adds jasmine-rails to let us use the asset pipeline (and Coffeescript) in JS specs. See merge request !1775
| | * | Typo: Issueable -> IssuableRobert Speicher2015-04-181-3/+3
| | | |
| | * | Add JS specs for replyWithSelectedTextRobert Speicher2015-04-181-0/+83
| | | |
| | * | Simplify jasmine.yml since we're using jasmine-rails gemRobert Speicher2015-04-181-30/+0
| | | | | | | | | | | | | | | | A lot of these values are handled by the asset pipeline.
| | * | Make StatGraph JS explicitly require its dependenciesRobert Speicher2015-04-183-0/+6
| | | | | | | | | | | | | | | | This allows us to test them in a bit more isolation.
| | * | rails g jasmine_rails:installRobert Speicher2015-04-181-115/+41
| | | |
| | * | Re-run rails g jasmine:installRobert Speicher2015-04-182-4/+56
| | | |
| * | | Merge branch 'rs-issue-2257' into 'master'Dmitriy Zaporozhets2015-04-221-0/+10
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recover from URI::Error `URI::Error` is the base class for all URI errors. Fixes #2257 and #2260 See merge request !1789
| | * | | Recover from all `URI::Error`sRobert Speicher2015-04-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2257 Fixes #2260
| * | | | Merge pull request #8831 from bladealslayer/fix/api-user-testsNihad Abbasov2015-04-221-4/+9
| |\ \ \ \ | | | | | | | | | | | | Fix user API tests succeeding for the wrong reason
| | * | | | Fix user API tests succeeding for the wrong reasonBoyan Tabakov2015-04-221-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The requests were missing multiple required attributes, while testing for single attribute missing. Added test for checking username as required attribute.
| * | | | | More cleanup of gitlab_markdown_helper_specRobert Speicher2015-04-211-98/+92
| | | | | |
| * | | | | Use Nokogiri in `link_to_gfm` specsRobert Speicher2015-04-211-20/+22
| | | | | | | | | | | | | | | | | | | | | | | | Didn't like relying so much on Regex matches
| * | | | | Update Gitlab::Markdown to use the :new: EmojiFilter :sparkles:Robert Speicher2015-04-211-74/+2
| | | | | | | | | | | | | | | | | | | | | | | | Removes emoji-centric tests from GFM specs :boom:
| * | | | | Add Gitlab::Markdown::EmojiFilterRobert Speicher2015-04-211-0/+97
| | |/ / / | |/| | |
| * | | | Merge branch 'rs-reference-filters' into 'master'Dmitriy Zaporozhets2015-04-2113-565/+1206
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert GFM reference handling to html-pipeline filters - `Gitlab::Markdown` is now much cleaner - Better separation of concerns - Cleaner, less brittle, more maintainable specs for each reference type. - Label references actually work! See merge request !1753
| | * | | | Skip failing test until usernames can't end in periods againRobert Speicher2015-04-201-0/+1
| | | | | |
| | * | | | Tweak single-word label regex to fix pending spec.Douwe Maan2015-04-201-1/+0
| | | | | |
| | * | | | project_from_ref returns nil when reference doesn't exist.Douwe Maan2015-04-201-2/+8
| | | | | |
| | * | | | project_from_ref returns nil when reference can't be accessedRobert Speicher2015-04-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior it would return the project from the current context, which wasn't the intended behavior.
| | * | | | Add more tests for cross-project referencesRobert Speicher2015-04-206-84/+139
| | | | | |
| | * | | | Escape title attributes in referencesRobert Speicher2015-04-205-0/+36
| | | | | |
| | * | | | Add spec for ReferenceExtractor#labelsRobert Speicher2015-04-201-0/+9
| | | | | |
| | * | | | Fix Issue and ExternalIssue reference specsRobert Speicher2015-04-201-7/+15
| | | | | |
| | * | | | Fix cross-project reference specs for new permission checkRobert Speicher2015-04-205-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For simplicity's sake, since we're testing the actual referencing, we just force the permission check to always be allowed.
| | * | | | Check for project read permissions in cross-referencesRobert Speicher2015-04-201-9/+36
| | | | | |
| | * | | | Remove more now-invalid specsRobert Speicher2015-04-201-66/+0
| | | | | |
| | * | | | Fix broken specRobert Speicher2015-04-201-11/+1
| | | | | |
| | * | | | Re-arrange spec/helpers/gitlab_markdown_helper_spec a bitRobert Speicher2015-04-201-111/+111
| | | | | |
| | * | | | Begin cleaning out spec/helpers/gitlab_markdown_helper_specRobert Speicher2015-04-201-335/+30
| | | | | |
| | * | | | Add permission checking to UserReferenceFilterRobert Speicher2015-04-201-4/+14
| | | | | |
| | * | | | Add name-based referencing to LabelReferenceFilterRobert Speicher2015-04-201-18/+95
| | | | | |
| | * | | | Fix ReferenceExtractor specRobert Speicher2015-04-201-1/+1
| | | | | |
| | * | | | Make CommitRange and Snippets cross-referableRobert Speicher2015-04-203-55/+82
| | | | | |
| | * | | | Fix GitlabMarkdownHelper specRobert Speicher2015-04-202-3/+11
| | | | | |
| | * | | | Reference filters :sparkles:Robert Speicher2015-04-2012-53/+787
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit ranges, commits, external issues, issues, labels, merge requests, snippets, users.
| * | | | | Update Google Code importer test.google-code-fixesDouwe Maan2015-04-211-3/+4
| |/ / / /
* | | | | Fix snippet testDmitriy Zaporozhets2015-04-221-1/+1
|/ / / / | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Merge branch 'better-commit-mentions' into 'master'Dmitriy Zaporozhets2015-04-201-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up code around commit mentions. Builds upon !527. See merge request !528