如何在開發的過程中加入測試。
- Model
- Repository
- Controller
- Auth
| #!/usr/bin/env ruby | |
| require 'koala' # gem install koala --no-ri --no-rdoc | |
| # create a facebook app and get access token from here | |
| # https://developers.facebook.com/tools/explorer | |
| # select "groups", "photos" when authenticating | |
| oauth_access_token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | |
| group_filtering_words = ['ruby'] | |
| image_path = 'image.png' #change to your image path | |
| message = 'My Cool image.' # your message |