This repository has been archived by the owner on Oct 26, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Continuing move to pass twitter keys in, in order to make more gem fr…
…iendly.
- Loading branch information
Showing
10 changed files
with
66 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ruby-2.0.0-p247 | ||
2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,22 @@ | ||
require_relative '../spec_helper' | ||
|
||
describe Twexport::Exporter do | ||
it "initializes with config" do | ||
twexport = Twexport::Exporter.new(:consumer_key => '', | ||
:consumer_secret => '', | ||
:oauth_token => '', | ||
:oauth_token_secret => '') | ||
before :each do | ||
@twexport = Twexport::Exporter.new( | ||
:consumer_key => CONSUMER_KEY, | ||
:consumer_secret => CONSUMER_SECRET, | ||
:access_token => ACCESS_TOKEN, | ||
:access_token_secret => ACCESS_TOKEN_SECRET) | ||
end | ||
|
||
it "initializes with twitter keys" do | ||
end | ||
|
||
it "looks up single user in Twitter API" do | ||
twexport = Twexport::Exporter.new(:consumer_key => '', | ||
:consumer_secret => '', | ||
:oauth_token => '', | ||
:oauth_token_secret => '') | ||
users = twexport.lookup_users ['ryanwi'] | ||
# puts users.inspect | ||
users = @twexport.lookup_users ['ryanwi'] | ||
end | ||
|
||
it "looks up users in Twitter API" do | ||
twexport = Twexport::Exporter.new(:consumer_key => '', | ||
:consumer_secret => '', | ||
:oauth_token => '', | ||
:oauth_token_secret => '') | ||
users = twexport.lookup_users ['corybooker','lolojones','xeni'] | ||
# puts users.inspect | ||
it "looks up multiple users in Twitter API" do | ||
users = @twexport.lookup_users ['corybooker','lolojones','xeni'] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters