Commit 869c820d6173a3e9ae94444ed60ba47312b63407

Authored by Antonio Terceiro
Committed by Victor Costa
1 parent 3da6cc4b

profile_description_block: fix indentation

plugins/profile_description_block/test/unit/profile_description_block_test.rb
1 require File.expand_path(File.dirname(__FILE__) + "/../../../../test/test_helper") 1 require File.expand_path(File.dirname(__FILE__) + "/../../../../test/test_helper")
2 2
3 class ProfileDescriptionBlockTest < ActiveSupport::TestCase 3 class ProfileDescriptionBlockTest < ActiveSupport::TestCase
4 - def setup  
5 - e = Environment.default 4 + def setup
  5 + e = Environment.default
6 e.enabled_plugins = ['ProfileDescriptionPlugin'] 6 e.enabled_plugins = ['ProfileDescriptionPlugin']
7 @person = create_user('test_user').person 7 @person = create_user('test_user').person
8 @profile = Profile.create!(:identifier => '1236', 8 @profile = Profile.create!(:identifier => '1236',
9 :name => 'blabla', 9 :name => 'blabla',
10 :description => "") 10 :description => "")
11 - end 11 + end
12 12
13 should 'describe itself' do 13 should 'describe itself' do
14 assert_not_equal Block.description, ProfileDescriptionBlock.description 14 assert_not_equal Block.description, ProfileDescriptionBlock.description