spec/hamlit/engine/silent_script_spec.rb in hamlit-1.5.9 vs spec/hamlit/engine/silent_script_spec.rb in hamlit-1.6.0
- old
+ new
@@ -74,22 +74,22 @@
ok
</span>
HTML
end
- it 'renders empty elsif statement', skipdoc: true do
+ it 'renders empty elsif statement' do
assert_render(<<-'HAML', <<-HTML, compatible_only: :haml, error_with: :faml)
%span
- if false
- elsif false
HAML
<span>
</span>
HTML
end
- it 'renders empty else statement', skipdoc: true do
+ it 'renders empty else statement' do
assert_render(<<-'HAML', <<-HTML, compatible_only: :haml, error_with: :faml)
%span
- if false
ng
- else
@@ -97,11 +97,11 @@
<span>
</span>
HTML
end
- it 'renders empty when statement', skipdoc: true do
+ it 'renders empty when statement' do
assert_render(<<-'HAML', <<-HTML, compatible_only: :haml, error_with: :faml)
%span
- case
- when false
HAML
@@ -185,10 +185,10 @@
HAML
hello
HTML
end
- it 'joins a next line if a current line ends with ","', skipdoc: true do
+ it 'joins a next line if a current line ends with ","' do
assert_render("- foo = [', \n ']\n= foo", <<-HTML, compatible_only: :haml)
[", "]
HTML
end