1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Fix specs

This commit is contained in:
Takashi Kokubun 2015-03-16 14:49:57 +09:00
parent 9290713ad0
commit 9d2d4ff6c1
2 changed files with 1 additions and 6 deletions

View file

@ -7,7 +7,7 @@ describe Hamlit::Engine do
{ buffer: buffer, generator: Temple::Generators::ArrayBuffer }
end
it 'allows generator valid options' do
it 'accepts generator valid options' do
expect(subject.call('')).to eq(
"#{buffer} = []; ; #{buffer} = #{buffer}.join",
)

View file

@ -1,10 +1,5 @@
describe Hamlit::ScriptCompiler do
describe '#call' do
def assert_compile(before, after)
result = described_class.new.call(before)
expect(result).to eq(after)
end
it 'does not alter single-line script' do
assert_compile(
[:multi,