Commit f36312b6834e6ceb7d187ccd24ab48379ba8c000
1 parent
43f4913d
Exists in
staging
and in
42 other branches
check for the correct attribute
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/functional/environment_design_controller_test.rb
@@ -70,7 +70,7 @@ class EnvironmentDesignControllerTest < ActionController::TestCase | @@ -70,7 +70,7 @@ class EnvironmentDesignControllerTest < ActionController::TestCase | ||
70 | article.expects(:path).returns('some_path') | 70 | article.expects(:path).returns('some_path') |
71 | article.expects(:id).returns(1) | 71 | article.expects(:id).returns(1) |
72 | get :edit, :id => l.id | 72 | get :edit, :id => l.id |
73 | - assert_tag :tag => 'select', :attributes => { :id => 'block[article_id]' } | 73 | + assert_tag :tag => 'select', :attributes => { :name => 'block[article_id]' } |
74 | end | 74 | end |
75 | 75 | ||
76 | should 'be able to edit ArticleBlock without portal community' do | 76 | should 'be able to edit ArticleBlock without portal community' do |