diff --git a/plugins/community_track/lib/community_track_plugin/step_helper.rb b/plugins/community_track/lib/community_track_plugin/step_helper.rb index ced6445..c14e881 100644 --- a/plugins/community_track/lib/community_track_plugin/step_helper.rb +++ b/plugins/community_track/lib/community_track_plugin/step_helper.rb @@ -16,11 +16,6 @@ module CommunityTrackPlugin::StepHelper CommunityTrackPlugin::StepHelper.status_classes[status_index(step)] end - def custom_options_for_article(article) - #no options for step? - nil - end - def link_to_step_tool(step, options={}) if step.tool link_to step.tool.view_url, options do diff --git a/plugins/community_track/test/functional/community_track_plugin_cms_controller_test.rb b/plugins/community_track/test/functional/community_track_plugin_cms_controller_test.rb index ab48f9d..1ace0d6 100644 --- a/plugins/community_track/test/functional/community_track_plugin_cms_controller_test.rb +++ b/plugins/community_track/test/functional/community_track_plugin_cms_controller_test.rb @@ -39,9 +39,4 @@ class CmsControllerTest < ActionController::TestCase assert_equal 'changed', @step.name end - should 'do not be able to edit visibility of step' do - get :edit, :id => @step.id, :profile => @profile.identifier - assert_no_tag :tag => 'input', :attributes => { :name => 'article[published]' } - end - end diff --git a/plugins/community_track/test/unit/community_track_plugin/step_helper_test.rb b/plugins/community_track/test/unit/community_track_plugin/step_helper_test.rb index 74e2b42..59b8d67 100644 --- a/plugins/community_track/test/unit/community_track_plugin/step_helper_test.rb +++ b/plugins/community_track/test/unit/community_track_plugin/step_helper_test.rb @@ -31,10 +31,6 @@ class StepHelperTest < ActiveSupport::TestCase assert_equal _('Soon'), status_description(@step) end - should 'return nil at custom_options_for_article' do - assert !custom_options_for_article(fast_create(Article)) - end - should 'return content without link if there is no tool in a step' do link = link_to_step_tool(@step) do "content" -- libgit2 0.21.2