Skip to content

Commit

Permalink
Don't send notifications from the cucumber environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Ferris committed Dec 23, 2009
1 parent 1a1bf3e commit 4bee32a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/hoptoad_notifier.rb
Expand Up @@ -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] "

Expand Down
2 changes: 1 addition & 1 deletion lib/hoptoad_notifier/configuration.rb
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/configuration_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 4bee32a

Please sign in to comment.