From f36312b6834e6ceb7d187ccd24ab48379ba8c000 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 8 Dec 2011 21:14:38 -0200 Subject: [PATCH] check for the correct attribute --- test/functional/environment_design_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/environment_design_controller_test.rb b/test/functional/environment_design_controller_test.rb index 8a0a7b0..58c3395 100644 --- a/test/functional/environment_design_controller_test.rb +++ b/test/functional/environment_design_controller_test.rb @@ -70,7 +70,7 @@ class EnvironmentDesignControllerTest < ActionController::TestCase article.expects(:path).returns('some_path') article.expects(:id).returns(1) get :edit, :id => l.id - assert_tag :tag => 'select', :attributes => { :id => 'block[article_id]' } + assert_tag :tag => 'select', :attributes => { :name => 'block[article_id]' } end should 'be able to edit ArticleBlock without portal community' do -- libgit2 0.21.2