Defect #29883 » 0001-Fix-spurious-spec-failures.patch
| test/functional/attachments_visibility_test.rb | ||
|---|---|---|
| 26 | 26 |
:issues, :trackers, :versions |
| 27 | 27 | |
| 28 | 28 |
def setup |
| 29 |
User.current = nil |
|
| 29 | 30 |
set_tmp_attachments_directory |
| 30 | 31 | |
| 31 | 32 |
@field = IssueCustomField.generate!(:field_format => 'attachment', :visible => true) |
| test/integration/api_test/authentication_test.rb | ||
|---|---|---|
| 20 | 20 |
class Redmine::ApiTest::AuthenticationTest < Redmine::ApiTest::Base |
| 21 | 21 |
fixtures :users |
| 22 | 22 | |
| 23 |
def teardown |
|
| 24 |
User.current = nil |
|
| 25 |
end |
|
| 26 | ||
| 23 | 27 |
def test_api_should_deny_without_credentials |
| 24 | 28 |
get '/users/current.xml' |
| 25 | 29 |
assert_response 401 |
| test/integration/lib/redmine/field_format/attachment_format_test.rb | ||
|---|---|---|
| 35 | 35 |
:attachments |
| 36 | 36 | |
| 37 | 37 |
def setup |
| 38 |
User.current = nil |
|
| 38 | 39 |
set_tmp_attachments_directory |
| 39 | 40 |
@field = IssueCustomField.generate!(:name => "File", :field_format => "attachment") |
| 40 | 41 |
log_user "jsmith", "jsmith" |
- « Previous
- 1
- 2
- Next »