Sha256: e096f0a8e58ceefceae1a49987f6718987b253d01ec5413adcd37e9bac5fcfda
Contents?: true
Size: 737 Bytes
Versions: 2
Compression:
Stored size: 737 Bytes
Contents
RSpec.describe "examples" do describe String do it "allows concatenation" do expect("foo" + "bar").to eq("foobar") end it "fails with bad concatenation" do expect("foo" + "bar").to eq("foo_bar") end end describe Kernel do it "sleeps" do sleep 3 end end it "has an undefined example" xit "has an example skipped with xit" it "has an explicitly skipped example" do skip("Not running this test") end it "has a pending example that fails" do pending("This feature is not yet implemented") expect(GreatClass.start).to eq([]) end it "has a pending example that passes" do pending("This feature is not yet implemented") expect(1 + 2).to eq(3) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rspec-trace-formatter-0.2.0 | examples/example_spec.rb |
rspec-trace-formatter-0.1.0 | examples/example_spec.rb |