Refactoring the code for pub sub (#155)

- We were using the attribute name 'channel' to store pubsub tokens, which was confusing.
- switched to faker from ffaker
- spec for contact.rb
This commit is contained in:
Sojan Jose
2019-10-17 03:18:07 +05:30
committed by GitHub
parent ad5fb525f5
commit 3988777718
14 changed files with 89 additions and 52 deletions

View File

@@ -186,9 +186,10 @@ GEM
factory_bot_rails (5.1.1)
factory_bot (~> 5.1.0)
railties (>= 4.2.0)
faker (2.1.2)
i18n (>= 0.8)
faraday (0.16.2)
multipart-post (>= 1.2, < 3)
ffaker (2.13.0)
ffi (1.11.1)
figaro (1.1.1)
thor (~> 0.14)
@@ -435,7 +436,7 @@ DEPENDENCIES
devise_token_auth!
facebook-messenger (~> 0.11.1)
factory_bot_rails
ffaker
faker
figaro
foreman
hashie