Sha256: 7598af248ab1a74b53d69d89e805375e7189fcb279e74c8c20aef25f2cb7559b
Contents?: true
Size: 561 Bytes
Versions: 4
Compression:
Stored size: 561 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 match "1 example, 0 failures" Then the stdout should match "should be > 8" But the stdout should not match "should be < 10"
Version data entries
4 entries across 4 versions & 2 rubygems