Go MAEDA
f1c29cdb8c
Run test only when GhostScript is available (#22481).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18221 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 5 roky
Go MAEDA
7f110f7277
Remove trailing whitespaces from test/test_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18220 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 5 roky
Go MAEDA
4082069c75
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 5 roky
Go MAEDA
b0e17e8199
Don't rescue Exception class (#31387).
Patch by Go MAEDA and Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 5 roky
Go MAEDA
4f5a3a156c
Enable frozen_string_literal for some files under test directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 5 roky
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 5 roky
Jean-Philippe Lang
f05f3b50c8
Test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@17725 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 5 roky
Jean-Philippe Lang
78a15a23b4
Fix random test failure, assertion must be made against displayed values.
IssuesControllerTest#test_index_sort_by_spent_hours_should_sort_by_visible_spent_hours
Expected: [3.0, 0.0, 0.0]
Actual: [3.0, 4.0, 0.0]
git-svn-id: http://svn.redmine.org/redmine/trunk@17672 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 5 roky
Go MAEDA
a4ffda7b37
Use button as additional option for contextmenu (#26655).
Patch by Felix Gliesche.
git-svn-id: http://svn.redmine.org/redmine/trunk@17298 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 6 roky
Jean-Philippe Lang
d74f0bfd5c
Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 7 roky
Jean-Philippe Lang
2a721fff4c
Set default configuration for the timelog list (#26356).
git-svn-id: http://svn.redmine.org/redmine/trunk@16814 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 7 roky
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 7 roky
Jean-Philippe Lang
f414e3c863
Create tmp directory on test launch.
git-svn-id: http://svn.redmine.org/redmine/trunk@16587 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 7 roky
Jean-Philippe Lang
966f238da4
Use Rails 5 syntax for integration tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16586 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 7 roky
Jean-Philippe Lang
b834e81d7f
Use Rails 5 syntax for functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16585 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 7 roky
Jean-Philippe Lang
1b81a030ce
Cleanup tests with mock files.
git-svn-id: http://svn.redmine.org/redmine/trunk@16461 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 7 roky
Jean-Philippe Lang
09f4a7d3f6
Reset locale to "en" before helpers tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16232 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 7 roky
Jean-Philippe Lang
9d747d6811
Reset current user before helpers tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16231 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 7 roky
Jean-Philippe Lang
e937cb533e
Use assert_nil instead of assert_equal.
git-svn-id: http://svn.redmine.org/redmine/trunk@16059 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 7 roky
Jean-Philippe Lang
e1da6de36f
Removes calls to #assert_template and #assigns in integration tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15727 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 8 roky
Jean-Philippe Lang
ec31b61698
Removes calls to #assert_template and #assigns in functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15695 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 8 roky
Jean-Philippe Lang
c4b4b8a71e
Adds a class for testing helpers.
git-svn-id: http://svn.redmine.org/redmine/trunk@15683 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 8 roky
Jean-Philippe Lang
6cc6a918b4
Pass parameters with :params in controller tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15666 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 8 roky
Jean-Philippe Lang
11c85279ab
Accept 5 arguments.
git-svn-id: http://svn.redmine.org/redmine/trunk@15665 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 8 roky
Jean-Philippe Lang
c364e6ee9b
Pass parameters with :params in controller tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15664 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 8 roky
Jean-Philippe Lang
2e4e610930
Adds our own class for controller tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15661 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 8 roky
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 8 roky
Jean-Philippe Lang
52621c697d
Makes the test LDAP host configurable (#21674).
git-svn-id: http://svn.redmine.org/redmine/trunk@15088 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 8 roky
Jean-Philippe Lang
035edd39c4
Import issues from CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 8 roky
Jean-Philippe Lang
e67bc3637e
Replace tab introduced in r14388 in test/test_helper.rb with spaces (#20242).
Patch by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@14412 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
004fc8b84b
Fixed that user with "Manage public queries" permission, can create global public query (#19842).
git-svn-id: http://svn.redmine.org/redmine/trunk@14388 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
e12322dac3
Adds a configuration setting to enable sudo mode, disabled by default (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14336 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
c3b91d6f04
Fixed assertions for SQLServer that format dates with MM/DD/YYYY in queries.
git-svn-id: http://svn.redmine.org/redmine/trunk@13992 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
af5872b7d4
Support for accent insensitive search with PostgreSQL (#18801).
If the unaccent extension is installed, the search engine will use it in order to do accent insensitive search.
git-svn-id: http://svn.redmine.org/redmine/trunk@13989 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
d85f73a30d
Upgrade to Rails 4.2.0 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
000124f44f
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Toshi MARUYAMA
e2e9d7185e
replace tab to space at test/test_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13854 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
1a851318fd
Replaces awesome_nested_set gem with a simple and more robust implementation of nested sets.
The concurrency tests added in this commit trigger dead locks and/or nested set inconsistency with awesome_nested_set.
git-svn-id: http://svn.redmine.org/redmine/trunk@13841 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
12890945e5
Allow attachment thumbnails from REST API (#18707).
git-svn-id: http://svn.redmine.org/redmine/trunk@13806 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
9b082712a0
Adds tests for creating an issue with multiple uploads.
git-svn-id: http://svn.redmine.org/redmine/trunk@13791 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
2a6692248b
Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
30175bf85e
Restore accent insensitive search with mysql (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13767 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
90e16a35c5
Missing test helper (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13761 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
c3ba302f0d
Use simplecov for code coverage, rcov does not support ruby>=1.9.
git-svn-id: http://svn.redmine.org/redmine/trunk@13691 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
f1308e64af
Removed unneeded patch in tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13681 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
8e84b1a48f
Moved helpers for integration tests in a specific class.
git-svn-id: http://svn.redmine.org/redmine/trunk@13680 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
d22029083c
Pull up #setup and #teardown in API tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13679 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
78e6717ba7
Test cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@13678 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
f04148695a
Drop shoulda.
git-svn-id: http://svn.redmine.org/redmine/trunk@13676 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky
Jean-Philippe Lang
372b24627b
Test API authentification once.
git-svn-id: http://svn.redmine.org/redmine/trunk@13675 e93f8b46-1217-0410-a6f0-8f06a7374b81
před 9 roky