Commit 65684a164b7a9a8f2ae9486e8dc66aaa981278a0

Authored by Victor Costa
1 parent c511a9f9

Remove trailing spaces from context content plugin

plugins/context_content/controllers/profile/context_content_plugin_profile_controller.rb
... ... @@ -11,7 +11,7 @@ class ContextContentPluginProfileController < ProfileController
11 11 page.replace_html "context_content_#{block.id}", :file => "blocks/context_content", :locals => {:block => block, :contents => contents}
12 12 page.replace_html "context_content_more_#{block.id}", :partial => 'blocks/more', :locals => {:block => block, :contents => contents, :article_id => params[:article_id] }
13 13 end
14   - else
  14 + else
15 15 render :text => "invalid page", :status => 500
16 16 end
17 17 end
... ...
plugins/context_content/public/style.css
... ... @@ -10,7 +10,7 @@
10 10 .context-content-block .contents .item .context-icon {
11 11 background-size: cover;
12 12 background-repeat: no-repeat;
13   - background-position: center;
  13 + background-position: center;
14 14 height: 100%;
15 15 }
16 16  
... ...
plugins/context_content/test/functional/content_viewer_controller_test.rb
... ... @@ -2,13 +2,13 @@ require File.dirname(__FILE__) + '/../test_helper'
2 2  
3 3 class ContentViewerController
4 4 append_view_path File.join(File.dirname(__FILE__) + '/../../views')
5   - def rescue_action(e)
6   - raise e
7   - end
  5 + def rescue_action(e)
  6 + raise e
  7 + end
8 8 end
9 9  
10 10 class ContentViewerControllerTest < ActionController::TestCase
11   -
  11 +
12 12 def setup
13 13 @profile = fast_create(Community)
14 14 @page = fast_create(Folder, :profile_id => @profile.id)
... ...
plugins/context_content/test/functional/profile_design_controller_test.rb
... ... @@ -2,9 +2,9 @@ require File.dirname(__FILE__) + &#39;/../test_helper&#39;
2 2  
3 3 class ProfileDesignController
4 4 append_view_path File.join(File.dirname(__FILE__) + '/../../views')
5   - def rescue_action(e)
6   - raise e
7   - end
  5 + def rescue_action(e)
  6 + raise e
  7 + end
8 8 end
9 9  
10 10 class ProfileDesignControllerTest < ActionController::TestCase
... ...
plugins/context_content/test/unit/context_content_plugin_test.rb
1 1 require File.dirname(__FILE__) + '/../test_helper'
2 2  
3 3 class ContextContentPluginTest < ActiveSupport::TestCase
4   -
  4 +
5 5 include Noosfero::Plugin::HotSpot
6 6  
7 7 def setup
... ...