Sha256: 00d5885776b44b1903b9ec9931ada6b9a27e3134b2efa80a96cb7cd4f89cef20

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('26 examples, 1 failure, 2 pending')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
turnip-0.3.1 spec/integration_spec.rb