Sha256: 4fac284e0d30fe60ebc9d357b6cfd4fada6190cfc8e81170d380b4fd77d125a0
Contents?: true
Size: 565 Bytes
Versions: 32
Compression:
Stored size: 565 Bytes
Contents
Feature: Spec and test together As an RSpec user I want to run one example identified by the line number Background: Given a file named "example.rb" with: """ describe 9 do it { should be > 8 } it { should be < 10 } end """ Scenario: two examples - first example on declaration line When I run "spec example.rb:3 --format nested" Then the stdout should include "1 example, 0 failures" Then the stdout should include "should be > 8" But the stdout should not match "should be < 10"
Version data entries
32 entries across 32 versions & 11 rubygems