Defect #29883 » 0001-Fix-spurious-spec-failure.diff
| 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 |