Skip to content

Commit

Permalink
Santitized specs and fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
KentonWhite committed Sep 4, 2012
1 parent ffe6440 commit 463a7bb
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions spec/crm_spec.rb
Expand Up @@ -3,9 +3,9 @@
describe "Zohoho::CRM" do

before :each do
@username = 'kentonwhite'
@password = 'mopa3lwb'
@apikey = 'L-PvsrDNn9EIW2phA3vzp9YuL5REECogkQaMGWeIdlI$'
@username = 'test'
@password = 'test'
@apikey = 'test'
vcr_config 'crm'
VCR.use_cassette('initialize', :record => :new_episodes) do
@crm = Zohoho::Crm.new(@username, @password, @apikey)
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/vcr_cassettes/connection/call.yml
Expand Up @@ -2,7 +2,7 @@
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=test&PASSWORD=test
body: !!null
str: ""
:@taguri: x-private:null
Expand Down Expand Up @@ -1355,7 +1355,7 @@
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=test&PASSWORD=test
headers: !!null
str: ""
:@taguri: x-private:null
Expand Down
8 changes: 4 additions & 4 deletions spec/fixtures/vcr_cassettes/connection/ticket.yml
Expand Up @@ -2,8 +2,8 @@
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
body: !!null
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=test&PASSWORD=test
test!!null
headers: !!null
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
Expand Down Expand Up @@ -39,8 +39,8 @@
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
headers: !!null
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=test&PASSWORD=test
tests: !!null
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/vcr_cassettes/crm/add_contact.yml
Expand Up @@ -2,7 +2,7 @@
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=test
body: !!null
headers: !!null
response: !ruby/struct:VCR::Response
Expand Down Expand Up @@ -76,7 +76,7 @@
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=test
headers: !!null
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/vcr_cassettes/crm/contact.yml
Expand Up @@ -2,7 +2,7 @@
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=test
body: !!null
str: ""
:@taguri: x-private:null
Expand Down Expand Up @@ -110,7 +110,7 @@
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=test
headers: !!null
str: ""
:@taguri: x-private:null
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/vcr_cassettes/crm/contact_single.yml
Expand Up @@ -2,7 +2,7 @@
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=test
body: !!null
str: ""
:@taguri: x-private:null
Expand Down Expand Up @@ -77,7 +77,7 @@
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=test
headers: !!null
str: ""
:@taguri: x-private:null
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/vcr_cassettes/crm/initialize.yml
Expand Up @@ -2,7 +2,7 @@
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :get
uri: https://accounts.zoho.com:443/apiauthtoken/nb/create?SCOPE=ZohoCRM/crmapi&EMAIL_ID=kentonwhite&PASSWORD=mopa3lwb
uri: https://accounts.zoho.com:443/apiauthtoken/nb/create?SCOPE=ZohoCRM/crmapi&EMAIL_ID=test&PASSWORD=test
body:
headers:
response: !ruby/struct:VCR::Response
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/vcr_cassettes/crm/note.yml
Expand Up @@ -2,7 +2,7 @@
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
uri: https://accounts.zoho.com:443/login?servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=test
body: !!null
headers: !!null
response: !ruby/struct:VCR::Response
Expand Down Expand Up @@ -73,7 +73,7 @@
request: !ruby/struct:VCR::Request
method: :post
uri: https://accounts.zoho.com:443/login
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=mopa3lwb
body: servicename=ZohoCRM&FROM_AGENT=true&LOGIN_ID=kentonwhite&PASSWORD=test
headers: !!null
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
Expand Down

0 comments on commit 463a7bb

Please sign in to comment.