use Configuration#bucket instead of hard-coded bucket value, and some spec cleanup

This commit is contained in:
2012-02-03 15:29:50 +00:00
parent 119f160dec
commit fa8a8fc57a
2 changed files with 41 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ module Airbrake
def increment
return unless configured?
client.increment('exceptions')
client.increment(config.bucket)
end
end # << self