Permalink
Browse files

Don't send notifications from the cucumber environment

  • Loading branch information...
1 parent 1a1bf3e commit 4bee32aee6d88638413154a7a36f9014087f04fc Joe Ferris committed Dec 23, 2009
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/hoptoad_notifier.rb
  2. +1 −1 lib/hoptoad_notifier/configuration.rb
  3. +1 −1 test/configuration_test.rb
View
@@ -11,7 +11,7 @@
# Plugin for applications to automatically post errors to the Hoptoad of their choice.
module HoptoadNotifier
- VERSION = "2.0.16"
+ VERSION = "2.0.17"
API_VERSION = "2.0"
LOG_PREFIX = "** [Hoptoad] "
@@ -120,7 +120,7 @@ def initialize
@ignore_by_filters = []
@ignore = IGNORE_DEFAULT.dup
@ignore_user_agent = []
- @development_environments = %w(development test)
+ @development_environments = %w(development test cucumber)
@development_lookup = true
@notifier_name = 'Hoptoad Notifier'
@notifier_version = VERSION
@@ -142,7 +142,7 @@ class ConfigurationTest < Test::Unit::TestCase
should "use development and test as development environments by default" do
config = HoptoadNotifier::Configuration.new
- assert_same_elements %w(development test), config.development_environments
+ assert_same_elements %w(development test cucumber), config.development_environments
end
should "be public in a public environment" do

0 comments on commit 4bee32a

Please sign in to comment.