Sha256: f38e2110d1bc8fe65a26993cb5344c979171a06600b1e104ae6038c22a56791a
Contents?: true
Size: 1.01 KB
Versions: 51
Compression:
Stored size: 1.01 KB
Contents
Feature: JSON formatter Scenario: Formatting example names for retry Given a file named "various_spec.rb" with: """ruby describe "Various" do it "fails" do "fail".should eq("succeed") end it "succeeds" do "succeed".should 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
51 entries across 51 versions & 13 rubygems