File: test_helper.rb

package info (click to toggle)
ruby-akismet 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 128 kB
  • sloc: ruby: 384; makefile: 3
file content (5 lines) | stat: -rw-r--r-- 177 bytes parent folder | download
1
2
3
4
5
require 'minitest/autorun'
require 'akismet'

API_KEY = ENV['AKISMET_API_KEY'] || raise("Set the AKISMET_API_KEY environment variable to an API key obtained from akismet.com")