@@ -532,11 +532,15 class RepositoriesGitControllerTest < ActionController::TestCase | |||
|
532 | 532 | get :annotate, :id => PRJ_ID, |
|
533 | 533 | :path => repository_path_hash(['latin-1-dir', "test-#{@char_1}.txt"])[:param], |
|
534 | 534 | :rev => r1 |
|
535 |
assert_t |
|
|
536 | :content => '1', | |
|
537 | :attributes => { :class => 'line-num' }, | |
|
538 | :sibling => { :tag => 'td', | |
|
539 | :content => /test-#{@char_1}.txt/ } | |
|
535 | assert_select "th.line-num", :text => '1' do | |
|
536 | assert_select "+ td.revision" do | |
|
537 | assert_select "a", :text => '57ca437c' | |
|
538 | assert_select "+ td.author", :text => "jsmith" do | |
|
539 | assert_select "+ td", | |
|
540 | :text => "test-#{@char_1}.txt" | |
|
541 | end | |
|
542 | end | |
|
543 | end | |
|
540 | 544 | end |
|
541 | 545 | end |
|
542 | 546 | end |
General Comments 0
You need to be logged in to leave comments.
Login now