Sha256: 4d6372b0a15c13f5f38787504d4a8e56bd47f6733d8d3386a336c33f0493f071

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 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('23 examples, 1 failure, 2 pending')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
turnip-0.3.0 spec/integration_spec.rb