HTML
compare(input, expected)
end
end
RSpec.describe "Callout" do
it "creates a callout with correct syntax" do
input = 'Callout';
expected = <<-HTML
Callout
HTML
compare(input, expected);
end
it "copies classes to the final HTML" do
input = 'Callout'
expected = <<-HTML
Callout
HTML
compare(input, expected);
end
end
RSpec.describe "Spacer" do
it 'creates a spacer element with correct size' do
input = '';
expected = <<-HTML
HTML
compare(input, expected);
end
it 'copies classes to the final spacer HTML' do
input = ''
expected = <<-HTML
HTML
compare(input, expected);
end
end
RSpec.describe "Wrapper" do
it 'creates a wrapper that you can attach classes to' do
input = ''
expected = <<-HTML