Skip to content

Instantly share code, notes, and snippets.

@mooreniemi
Created October 3, 2016 21:02
Show Gist options
  • Save mooreniemi/f249e7fb7423c32496617c3338d85747 to your computer and use it in GitHub Desktop.
Save mooreniemi/f249e7fb7423c32496617c3338d85747 to your computer and use it in GitHub Desktop.
rspec sample_spec.rb
F
Failures:
1) sample should give output
Failure/Error: expect(false).to eq(true)
expected: true
got: false
(compared using ==)
# ./sample_spec.rb:3:in `block (2 levels) in <top (required)>'
Finished in 0.01647 seconds (files took 0.07694 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./sample_spec.rb:2 # sample should give output
RSpec.describe 'sample' do
it 'should give output' do
expect(false).to eq(true)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment