Commit 8bea57ec99a08f581258cbfa89f0140450532cef
1 parent
97a79e39
Exists in
master
and in
26 other branches
profile_description_block: fix test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/profile_description_block/test/unit/profile_description_block_test.rb
@@ -17,7 +17,7 @@ class ProfileDescriptionBlockTest < ActiveSupport::TestCase | @@ -17,7 +17,7 @@ class ProfileDescriptionBlockTest < ActiveSupport::TestCase | ||
17 | should "show profile description inside block" do | 17 | should "show profile description inside block" do |
18 | new_block = ProfileDescriptionBlock.create! | 18 | new_block = ProfileDescriptionBlock.create! |
19 | @profile.boxes.first.blocks << new_block | 19 | @profile.boxes.first.blocks << new_block |
20 | - block_menssage = "Description field are empty" | 20 | + block_menssage = "Description field is empty" |
21 | assert (instance_eval(&Block.last.content).include?(block_menssage)), | 21 | assert (instance_eval(&Block.last.content).include?(block_menssage)), |
22 | "description block doesn't show not found description message" | 22 | "description block doesn't show not found description message" |
23 | description = "This is an test" | 23 | description = "This is an test" |