Sha256: 0d33d4722613ae1e895ea6e889a59453aa38e6732ac516ebcf59861e63b96901

Contents?: true

Size: 271 Bytes

Versions: 9

Compression:

Stored size: 271 Bytes

Contents

require 'fakeweb'
require 'sendgrid_toolkit'
require 'spec'

FakeWeb.allow_net_connect = false

def backup_env
  @env_backup = Hash.new
  ENV.keys.each {|key| @env_backup[key] = ENV[key]}
end
def restore_env
  @env_backup.keys.each {|key| ENV[key] = @env_backup[key]}
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
eliasbaixas-sendgrid_toolkit-1.0.5 spec/helper.rb
sendgrid_toolkit-1.0.5 spec/helper.rb
sendgrid_toolkit-1.0.4 spec/helper.rb
sendgrid_toolkit-1.0.3 spec/helper.rb
sendgrid_toolkit-1.0.2 spec/helper.rb
sendgrid_toolkit-1.0.1 spec/helper.rb
sendgrid_toolkit-1.0.0 spec/helper.rb
sendgrid_toolkit-0.1.1 spec/helper.rb
sendgrid_toolkit-0.1.0 spec/helper.rb