entries <<
Entry.new(
{
- :name => CGI.unescape(name),
+ :name => Addressable::URI.unescape(name),
:path => ((path.empty? ? "" : "#{path}/") + name),
:kind => entry['kind'],
:size => ((s = entry['size']) ? s['__content__'].to_i : nil),
:issue_categories, :enumerations, :custom_fields, :custom_values, :trackers
PRJ_ID = 3
- NUM_REV = 13
+ NUM_REV = 14
def setup
super
assert_response :success
assert_select 'table.entries tbody' do
- assert_select 'tr', 5
+ assert_select 'tr', 6
assert_select 'tr.dir td.filename a', :text => '[folder_with_brackets]'
assert_select 'tr.dir td.filename a', :text => 'folder'
+ assert_select 'tr.file td.filename a', :text => '+.md'
assert_select 'tr.file td.filename a', :text => '.project'
assert_select 'tr.file td.filename a', :text => 'helloworld.c'
assert_select 'tr.file td.filename a', :text => 'textfile.txt'
include Redmine::I18n
- NUM_REV = 13
+ NUM_REV = 14
def setup
User.current = nil
@project.reload
assert_equal NUM_REV, @repository.changesets.count
- assert_equal 23, @repository.filechanges.count
+ assert_equal 24, @repository.filechanges.count
assert_equal 'Initial import.', @repository.changesets.find_by_revision('1').comments
end