Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sidonath/8cacd2505b05fe6dac2f27d04b8de7ad to your computer and use it in GitHub Desktop.
Save sidonath/8cacd2505b05fe6dac2f27d04b8de7ad to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="rspec" tests="9" failures="6" errors="0" time="0.001972" timestamp="2017-06-13T18:46:48+09:00">
<properties>
<property name="seed" value="12345"/>
</properties>
<testcase classname="spec.example_spec" name="some example specs should be pending" file="./spec/example_spec.rb" time="0.000106"><skipped/></testcase>
<testcase classname="spec.example_spec" name="some example specs escapes &lt;html tags=&apos;correctly&apos; and=&quot;such &amp;amp; such&quot;&gt;" file="./spec/example_spec.rb" time="0.000458"><failure message="
expected: &quot;&lt;p&gt;This is &lt;strong&gt;very&lt;/strong&gt; important&lt;/p&gt;&quot;
got: &quot;&lt;p&gt;This is important&lt;/p&gt;&quot;
(compared using eql?)
" type="RSpec::Expectations::ExpectationNotMetError">
expected: &quot;&lt;p&gt;This is &lt;strong&gt;very&lt;/strong&gt; important&lt;/p&gt;&quot;
got: &quot;&lt;p&gt;This is important&lt;/p&gt;&quot;
(compared using eql?)
./spec/example_spec.rb:29:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.example_spec" name="some example specs should succeed" file="./spec/example_spec.rb" time="0.000436"></testcase>
<testcase classname="spec.example_spec" name="some example specs can include unicodes &#x1f601;" file="./spec/example_spec.rb" time="0.000076"><failure message="
expected: &quot;&#x1f525;&quot;
got: &quot;&#x1f680;&quot;
(compared using eql?)
" type="RSpec::Expectations::ExpectationNotMetError">
expected: &quot;&#x1f525;&quot;
got: &quot;&#x1f680;&quot;
(compared using eql?)
./spec/example_spec.rb:25:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.example_spec" name="some example specs should raise" file="./spec/example_spec.rb" time="0.000043"><failure message="ArgumentError" type="ArgumentError">ArgumentError
./spec/example_spec.rb:13:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.example_spec" name="some example specs should fail" file="./spec/example_spec.rb" time="0.000065"><failure message="
expected #&lt;TrueClass:20&gt; =&gt; true
got #&lt;FalseClass:0&gt; =&gt; false
Compared using equal?, which compares object identity,
but expected and actual are not the same object. Use
`expect(actual).to eq(expected)` if you don&apos;t care about
object identity in this example.
" type="RSpec::Expectations::ExpectationNotMetError">
expected #&lt;TrueClass:20&gt; =&gt; true
got #&lt;FalseClass:0&gt; =&gt; false
Compared using equal?, which compares object identity,
but expected and actual are not the same object. Use
`expect(actual).to eq(expected)` if you don&apos;t care about
object identity in this example.
./spec/example_spec.rb:9:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.example_spec" name="some example specs escapes naughty &#x0; characters" file="./spec/example_spec.rb" time="0.000073"><failure message="
expected: &quot;emergency services&quot;
got: &quot;\u0000\u0000\u0000&quot;
(compared using eql?)
" type="RSpec::Expectations::ExpectationNotMetError">
expected: &quot;emergency services&quot;
got: &quot;\u0000\u0000\u0000&quot;
(compared using eql?)
./spec/example_spec.rb:33:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.example_spec" name="some example specs it should behave like shared examples in a shared example succeeds" file="./spec/example_spec.rb" time="0.000062"></testcase>
<testcase classname="spec.example_spec" name="some example specs it should behave like shared examples in a shared example also fails" file="./spec/example_spec.rb" time="0.000120"><failure message="
expected #&lt;TrueClass:20&gt; =&gt; true
got #&lt;FalseClass:0&gt; =&gt; false
Compared using equal?, which compares object identity,
but expected and actual are not the same object. Use
`expect(actual).to eq(expected)` if you don&apos;t care about
object identity in this example.
" type="RSpec::Expectations::ExpectationNotMetError">
expected #&lt;TrueClass:20&gt; =&gt; true
got #&lt;FalseClass:0&gt; =&gt; false
Compared using equal?, which compares object identity,
but expected and actual are not the same object. Use
`expect(actual).to eq(expected)` if you don&apos;t care about
object identity in this example.
./spec/shared_examples.rb:8:in `block (3 levels) in &lt;top (required)&gt;&apos;
Shared Example Group: &quot;shared examples&quot; called from ./spec/example_spec.rb:36</failure></testcase>
</testsuite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment