File: shared_examples.rb

package info (click to toggle)
ruby-rspec-junit-formatter 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 264 kB
  • sloc: ruby: 522; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 206 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
shared_examples "shared examples" do
  context "in a shared example" do
    it "succeeds" do
      expect(true).to be(true)
    end

    it "also fails" do
      expect(false).to be(true)
    end
  end
end