https://github.com/mike1011/fetch_from_twitter
A small application to fetch information from twitter
https://github.com/mike1011/fetch_from_twitter
Last synced: 4 months ago
JSON representation
A small application to fetch information from twitter
- Host: GitHub
- URL: https://github.com/mike1011/fetch_from_twitter
- Owner: mike1011
- Created: 2014-01-20T09:25:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-21T15:26:52.000Z (over 11 years ago)
- Last Synced: 2024-10-18T09:13:37.844Z (9 months ago)
- Language: CSS
- Size: 301 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
README
This directory contains small Rails 3 application to test Twitter API using Cucumber.
It also uses SimpleCov gem to show the code coverage stored in /coverage/index.html.Recently Twitter restricted the use of API from January 14,2014.
You can view more on https://dev.twitter.com/docs/api/1.1PLEASE FOLLOW THE BELOW STEPS TO RUN CUCUMBER TEST
1)Run bundle install or bundle exec bundle install
2)Prepare the test database using rake db:migrate and rake db:test:prepare
3)Run the feature file using bundle exec rake cucumber
4)Once the test has been completed you will see a message,shown below on successful completion
1 scenario (1 passed)
3 steps (3 passed)
0m1.450s
Coverage report generated for Cucumber Features to C:/Users/user_name/fetch_from_twitter/coverage. 82 / 96 LOC (85.42%) covered.5)To view the coverage,open the coverage/index.html in the browser.