spec/slacken_spec.rb in slacken-0.1.0 vs spec/slacken_spec.rb in slacken-0.1.1
- old
+ new
@@ -3,9 +3,12 @@
describe Slacken do
describe '#translate' do
subject { described_class.translate(source) }
let(:source) { fixture('example.html') }
+ # This test checks whether the behavior of this translation engine is unexpectedly broken.
+ # If you change the behavior, you should run `scripts/update_markup_fixture.rb`
+ # to update fixture file.
it 'translates as expected' do
expect(subject).to eq(fixture('markup_text.txt'))
end
end
end