Commit graph

9 commits

Author SHA1 Message Date
Rémy Coutable
2d54dfb251 Migrate features/project/project.feature to RSpec and reorganize several Project feature specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-09 18:04:09 -05:00
Bob Van Landuyt
e74879280f Allow maintainers to edit directly in a fork 2018-03-07 16:55:34 +01:00
blackst0ne
27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Eric Eastwood
43377979c6 Check for element before evaluate_script
Tip from
https://robots.thoughtbot.com/write-reliable-asynchronous-integration-tests-with-capybara#directly-interacting-with-javascript
2017-10-19 14:01:15 -05:00
Jacopo
0ce6785851 Replaces tag: true into :tag in the specs
Replaces all the explicit include metadata syntax in the specs (tag:
true) into the implicit one (:tag).
Added a cop to prevent future errors and handle autocorrection.
2017-10-07 13:57:54 +02:00
Bob Van Landuyt
e8ca579d88 Add a project forks spec helper
The helper creates a fork of a project with all provided attributes,
but skipping the creation of the repository on disk.
2017-10-07 11:46:23 +02:00
Stan Hu
e6c13d2954 Improve flaky ACE editor spec
The ACE editor JavaScript may not be loaded when the spec
runs evaluateScript. Wait for the editor to load before
attempting to run ACE-specific JavaScript.
2017-08-26 12:51:47 -07:00
Robert Speicher
1a0064dceb Use empty_project where possible in spec/features/projects 2017-07-27 13:12:16 -04:00
blackst0ne
2c8700c01e Replace 'browse_files.feature' spinach test with an rspec analog 2017-07-12 23:45:42 +11:00