Skip to content

Commit

Permalink
Add test to <a> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangarha committed Jun 25, 2023
1 parent a86619d commit 2a43d0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/bidify_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'bidify'

describe 'Bidify' do
describe '.bidify' do
describe '#bidify' do
it 'bidifies a single paragraph' do
input = '<p>some text</p>'
expected_output = '<p dir="auto">some text</p>'
Expand Down Expand Up @@ -146,6 +146,7 @@
<main>content</main>
<section>content</section>
<aside>content</aside>
<a>content</a>
HTML

expected_output = input
Expand Down

0 comments on commit 2a43d0f

Please sign in to comment.