configured the testmode

This commit is contained in:
Ilya Zhitomirskiy 2011-06-15 16:04:38 -07:00
parent 844bf48851
commit 9366b7243a
5 changed files with 15 additions and 19 deletions

View file

@ -94,6 +94,6 @@ group :test do
gem 'rspec-instafail', '>= 0.1.7', :require => false gem 'rspec-instafail', '>= 0.1.7', :require => false
gem 'fuubar' gem 'fuubar'
gem 'diaspora-client', :git => 'git@github.com:diaspora/diaspora-client.git' gem 'diaspora-client', #:git => 'git@github.com:diaspora/diaspora-client.git'
#:path => "~/workspace/diaspora-client" :path => "~/workspace/diaspora-client"
end end

View file

@ -37,9 +37,8 @@ GIT
addressable (>= 2.1.1) addressable (>= 2.1.1)
eventmachine (>= 0.12.9) eventmachine (>= 0.12.9)
GIT PATH
remote: git@github.com:diaspora/diaspora-client.git remote: ~/workspace/diaspora-client
revision: 17ff61247dc6f272604fb517d6eacf4a0683a721
specs: specs:
diaspora-client (0.0.0) diaspora-client (0.0.0)
activerecord activerecord

View file

@ -7,5 +7,5 @@ gem 'json'
gem 'shotgun' gem 'shotgun'
gem 'sqlite3' gem 'sqlite3'
gem 'activerecord', '3.0.3' gem 'activerecord', '3.0.3'
gem 'diaspora-client', #:path => "~/workspace/diaspora-client" gem 'diaspora-client', :path => "~/workspace/diaspora-client"
:git => 'git@github.com:diaspora/diaspora-client.git' #:git => 'git@github.com:diaspora/diaspora-client.git'

View file

@ -1,10 +1,8 @@
GIT PATH
remote: git@github.com:diaspora/diaspora-client.git remote: ~/workspace/diaspora-client
revision: 17ff61247dc6f272604fb517d6eacf4a0683a721
specs: specs:
diaspora-client (0.0.0) diaspora-client (0.0.0)
activerecord activerecord
em-synchrony
faraday faraday
oauth2 oauth2
sinatra sinatra
@ -25,14 +23,11 @@ GEM
addressable (2.2.6) addressable (2.2.6)
arel (2.0.10) arel (2.0.10)
builder (2.1.2) builder (2.1.2)
em-synchrony (0.2.0)
eventmachine (>= 0.12.9)
eventmachine (0.12.10)
faraday (0.6.1) faraday (0.6.1)
addressable (~> 2.2.4) addressable (~> 2.2.4)
multipart-post (~> 1.1.0) multipart-post (~> 1.1.0)
rack (< 2, >= 1.1.0) rack (< 2, >= 1.1.0)
haml (3.0.18) haml (3.0.25)
i18n (0.6.0) i18n (0.6.0)
json (1.4.6) json (1.4.6)
multi_json (1.0.3) multi_json (1.0.3)
@ -40,15 +35,15 @@ GEM
oauth2 (0.4.1) oauth2 (0.4.1)
faraday (~> 0.6.1) faraday (~> 0.6.1)
multi_json (>= 0.0.5) multi_json (>= 0.0.5)
rack (1.2.2) rack (1.2.3)
shotgun (0.9) shotgun (0.9)
rack (>= 1.0) rack (>= 1.0)
sinatra (1.2.6) sinatra (1.2.6)
rack (~> 1.1) rack (~> 1.1)
tilt (>= 1.2.2, < 2.0) tilt (< 2.0, >= 1.2.2)
sqlite3 (1.3.3) sqlite3 (1.3.3)
tilt (1.3) tilt (1.3.2)
tzinfo (0.3.27) tzinfo (0.3.28)
PLATFORMS PLATFORMS
ruby ruby

View file

@ -43,6 +43,8 @@ module Chubbies
DiasporaClient.config do |d| DiasporaClient.config do |d|
d.private_key_path = File.dirname(__FILE__) + "/chubbies.private.pem" d.private_key_path = File.dirname(__FILE__) + "/chubbies.private.pem"
d.public_key_path = File.dirname(__FILE__) + "/chubbies.public.pem" d.public_key_path = File.dirname(__FILE__) + "/chubbies.public.pem"
d.test_mode = true
d.application_url = "http://localhost:9292"
end end
class App < DiasporaClient::App class App < DiasporaClient::App