features/support/env.rb in newslettre-0.0.1 vs features/support/env.rb in newslettre-0.1.0
- old
+ new
@@ -15,11 +15,11 @@
t.tags '@sendgrid_adding_recipients', '@sendgrid_removing_recipients'
end
class OuterWorld
def newslettre
- @newslettre ||= Newslettre::Client.new(:email => NEWSLETTRE_CONFIG['sendgrid']['username'],
- :password => NEWSLETTRE_CONFIG['sendgrid']['password'])
+ @newslettre ||= Newslettre::Client.new(NEWSLETTRE_CONFIG['sendgrid']['username'],
+ NEWSLETTRE_CONFIG['sendgrid']['password'])
end
end
World { OuterWorld.new }