File: succeeds_helper.rb

package info (click to toggle)
ruby-fog-local 0.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 212 kB
  • sloc: ruby: 709; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 139 bytes parent folder | download
1
2
3
4
5
6
7
8
9
module Shindo
  class Tests
    def succeeds(&block)
      test('succeeds') do
        !!instance_eval(&block)
      end
    end
  end
end