From 1249505fda74b12a1a9c75d730330601129e768e Mon Sep 17 00:00:00 2001 From: Francisco Marcelo de Araújo Lima Júnior Date: Wed, 19 Mar 2014 18:45:02 -0300 Subject: [PATCH] #embed block: fix unit tests --- test/unit/block_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/block_test.rb b/test/unit/block_test.rb index 6281b4e..3f4986b 100644 --- a/test/unit/block_test.rb +++ b/test/unit/block_test.rb @@ -224,12 +224,12 @@ class BlockTest < ActiveSupport::TestCase end should 'be embedable by default' do - assert Block.new.embedable? + assert !Block.new.embedable? end - should 'generate embed url' do + should 'generate embed code' do b = Block.new - assert_equal "", b.embed_code('http://myblogtest.com') + assert_equal "", b.embed_code('http://myblogtest.com/embed/block/1') end end -- libgit2 0.21.2