require 'spec_helper' describe "html" do let(:filename) { 'test.html' } after :each do vim.command('silent! unlet g:splitjoin_html_attributes_bracket_on_new_line') vim.command('silent! unlet g:splitjoin_html_attributes_hanging') end def simple_test(joined_html, split_html) set_file_contents joined_html split remove_indentation assert_file_contents split_html vim.normal 'gg' join remove_indentation assert_file_contents joined_html end specify "tags in other content" do set_file_contents 'One