Sha256: d29549281f7784e309172d123a6427437a576fe12cf7e0a9dbc97d247fae98aa

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

require 'spec_helper'

describe 'The CLI', :type => :integration do
  before do
    @result = %x(rspec -fs examples/*.feature)
  end

  it "shows the correct description" do
    @result.should include('A simple feature')
    @result.should include('is a simple feature')
  end

  it "prints out failures and successes" do
    @result.should include('33 examples, 3 failures, 3 pending')
  end

  it "includes features in backtraces" do
    @result.should include('examples/errors.feature:5:in `raise error')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
turnip-1.0.0 spec/integration_spec.rb