features/step_definitions/twitter_steps.rb in jakal-0.1.5 vs features/step_definitions/twitter_steps.rb in jakal-0.1.6
- old
+ new
@@ -1,8 +1,4 @@
-Given /^I have a mock twitter response$/ do
- @response = File.open('features/mocks/twitter.json','r') {|f| f.readlines.to_s}
-end
-
When /^I request trends data from twitter$/ do
@url = YAML::load_file('config/config.yml')['twitter']
@response = Jkl::get_from @url
end
\ No newline at end of file