Sha256: f776394917f7d4a54acb5c22cc17f466346cb3c296c1fb214a4d4b00a2ed7762
Contents?: true
Size: 1.02 KB
Versions: 12
Compression:
Stored size: 1.02 KB
Contents
Feature: JSON formatter Scenario: Formatting example names for retry Given a file named "various_spec.rb" with: """ruby RSpec.describe "Various" do it "fails" do expect("fail").to eq("succeed") end it "succeeds" do expect("succeed").to eq("succeed") end it "pends" end """ When I run `rspec various_spec.rb --format j` Then the output should contain all of these: |"summary_line":"3 examples, 1 failure, 1 pending"| |"examples":[ | |"description":"fails" | |"full_description":"Various fails" | |"status":"failed" | |"file_path":"./various_spec.rb" | |"line_number":2 | |"exception":{ | |"class":"RSpec::Expectations::ExpectationNotMetError"| And the exit status should be 1
Version data entries
12 entries across 12 versions & 1 rubygems