Permalink
Browse files

assert_nothing_raised in plugin docs

  • Loading branch information...
1 parent 2f6ec23 commit 4fcf1aa7d21cd0a27e8115eae32846428e2d03eb @defunkt defunkt committed Apr 2, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/PLUGINS.md
View
@@ -86,8 +86,8 @@ Plugins should test compliance to this document using the
For example:
- def test_lint
- assert Resque::Plugin.lint(Resque::Plugins::Lock)
+ assert_nothing_raised do
+ Resque::Plugin.lint(Resque::Plugins::Lock)
end
[sv]: http://semver.org/

0 comments on commit 4fcf1aa

Please sign in to comment.