require 'spec_helper'

describe Slacken do
  describe '#translate' do
    subject { described_class.translate(source) }
    let(:source) { fixture('example.html') }

    it 'translates as expected' do
      expect(subject).to eq(fixture('markup_text.txt'))
    end
  end
end

require 'spec_helper'

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

Add a description of `scripts/update_markup_fixture.rb`
Add a description of `scripts/update_markup_fixture.rb`
