@@ -1,7 +1,8 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <% form_tag( |
|
3 | 3 | {:action => 'revision', :id => @project, |
|
4 | :repository_id => @repository.identifier_param} | |
|
4 | :repository_id => @repository.identifier_param}, | |
|
5 | :method => :get | |
|
5 | 6 | ) do %> |
|
6 | 7 | <%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 8 %> |
|
7 | 8 | <%= submit_tag 'OK' %> |
@@ -14,6 +14,7 http://www.redmine.org/ | |||
|
14 | 14 | * Defect #11541: Version sharing is missing in the REST API |
|
15 | 15 | * Defect #11789: Edit section links broken with h5/h6 headings |
|
16 | 16 | * Defect #12189: No tmp/pdf directory |
|
17 | * Defect #12196: "Page not found" on OK button in SCM "View all revisions" page | |
|
17 | 18 | * Feature #11338: Exclude emails with auto-submitted => auto-generated |
|
18 | 19 | * Patch #9732: German translations |
|
19 | 20 | * Patch #11328: Fix Japanese mistranslation for 'label_language_based' |
@@ -547,6 +547,21 class RepositoriesGitControllerTest < ActionController::TestCase | |||
|
547 | 547 | end |
|
548 | 548 | end |
|
549 | 549 | |
|
550 | def test_revisions | |
|
551 | assert_equal 0, @repository.changesets.count | |
|
552 | @repository.fetch_changesets | |
|
553 | @project.reload | |
|
554 | assert_equal NUM_REV, @repository.changesets.count | |
|
555 | get :revisions, :id => PRJ_ID | |
|
556 | assert_response :success | |
|
557 | assert_template 'revisions' | |
|
558 | assert_tag :tag => 'form', | |
|
559 | :attributes => { | |
|
560 | :method => 'get', | |
|
561 | :action => '/projects/subproject1/repository/revision' | |
|
562 | } | |
|
563 | end | |
|
564 | ||
|
550 | 565 | def test_revision |
|
551 | 566 | assert_equal 0, @repository.changesets.count |
|
552 | 567 | @repository.fetch_changesets |
General Comments 0
You need to be logged in to leave comments.
Login now