require 'spec_helper' require 'turnip_formatter/step_template/exception' describe TurnipFormatter::StepTemplate::Exception do after do TurnipFormatter.step_templates.pop end let!(:template) do described_class.new end describe '#build_failed' do subject { template.build_failed(failed_example) } it { should match %r{
No such step} } end end