##// END OF EJS Templates
Merged r10709 from trunk to 1.4-stable (#12196)...
Toshi MARUYAMA -
r10499:83b356484af3
parent child
Show More
@@ -1,7 +1,8
1 <div class="contextual">
1 <div class="contextual">
2 <% form_tag(
2 <% form_tag(
3 {:action => 'revision', :id => @project,
3 {:action => 'revision', :id => @project,
4 :repository_id => @repository.identifier_param}
4 :repository_id => @repository.identifier_param},
5 :method => :get
5 ) do %>
6 ) do %>
6 <%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 8 %>
7 <%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 8 %>
7 <%= submit_tag 'OK' %>
8 <%= submit_tag 'OK' %>
@@ -14,6 +14,7 http://www.redmine.org/
14 * Defect #11541: Version sharing is missing in the REST API
14 * Defect #11541: Version sharing is missing in the REST API
15 * Defect #11789: Edit section links broken with h5/h6 headings
15 * Defect #11789: Edit section links broken with h5/h6 headings
16 * Defect #12189: No tmp/pdf directory
16 * Defect #12189: No tmp/pdf directory
17 * Defect #12196: "Page not found" on OK button in SCM "View all revisions" page
17 * Feature #11338: Exclude emails with auto-submitted => auto-generated
18 * Feature #11338: Exclude emails with auto-submitted => auto-generated
18 * Patch #9732: German translations
19 * Patch #9732: German translations
19 * Patch #11328: Fix Japanese mistranslation for 'label_language_based'
20 * Patch #11328: Fix Japanese mistranslation for 'label_language_based'
@@ -547,6 +547,21 class RepositoriesGitControllerTest < ActionController::TestCase
547 end
547 end
548 end
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 def test_revision
565 def test_revision
551 assert_equal 0, @repository.changesets.count
566 assert_equal 0, @repository.changesets.count
552 @repository.fetch_changesets
567 @repository.fetch_changesets
General Comments 0
You need to be logged in to leave comments. Login now