summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--DEVELOP.md49
-rw-r--r--Gemfile48
-rw-r--r--Gemfile.lock19
-rw-r--r--INSTALL.md9
-rw-r--r--app/controllers/home_controller.rb (renamed from core/app/controllers/home_controller.rb)0
-rw-r--r--certs/Gemfile15
-rw-r--r--certs/leap_web_certs.gemspec3
-rw-r--r--certs/lib/leap_web_certs/engine.rb1
-rw-r--r--certs/lib/leap_web_certs/version.rb3
-rw-r--r--certs/test/functional/certs_controller_test.rb1
-rw-r--r--certs/test/unit/cert_test.rb3
-rw-r--r--common_dependencies.rb6
-rw-r--r--config/cert38
-rw-r--r--config/routes.rb6
-rw-r--r--core/Readme.md2
-rw-r--r--core/app/assets/images/leap_web_core/.gitkeep0
-rw-r--r--core/app/assets/javascripts/leap_web_core/.gitkeep0
-rw-r--r--core/app/assets/stylesheets/leap_web_core/.gitkeep0
-rw-r--r--core/app/controllers/.gitkeep0
-rw-r--r--core/app/helpers/.gitkeep0
-rw-r--r--core/app/mailers/.gitkeep0
-rw-r--r--core/app/models/.gitkeep0
-rw-r--r--core/app/views/.gitkeep0
-rw-r--r--core/app/views/home/index.html.haml1
-rw-r--r--core/leap_web_core.gemspec2
-rw-r--r--core/lib/leap_web_core.rb9
-rw-r--r--core/lib/leap_web_core/ui_dependencies.rb11
-rw-r--r--core/lib/leap_web_core/version.rb3
-rw-r--r--core/test/integration/navigation_test.rb9
-rw-r--r--core/test/leap_web_core_test.rb7
-rw-r--r--core/test/test_helper.rb15
-rw-r--r--help/Gemfile21
-rw-r--r--help/leap_web_help.gemspec8
-rw-r--r--help/lib/leap_web_help/engine.rb4
-rw-r--r--help/lib/leap_web_help/version.rb3
-rw-r--r--lib/leap_web/version.rb2
-rw-r--r--lib/tasks/gems.rake2
-rw-r--r--lib/tasks/task_helper.rb2
-rw-r--r--lib/tasks/test.rake18
-rw-r--r--test/dummy/config/cert56
-rw-r--r--test/dummy/log/test.log1244
-rw-r--r--test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583bin19966 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867bin208466 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2bin2775 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746bin4013 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189bin4031 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308bin18365 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32bin4097 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953bin960 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9bin2775 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1bin4213 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25bin4032 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066cbin260605 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403bin19966 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59dfbin202489 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67cbin4014 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3bin7252 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8bin4435 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030fbin30874 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918bin18366 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514bin3148 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705bin960 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66bin7252 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1abin17211 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351bin4839 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7bin5448 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3bin260605 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494bin202489 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655bin5108 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75bin4436 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6bin1269 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199febin4213 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163bin3147 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511abin3824 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31bin5448 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36bin17211 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4bin4838 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994bin380927 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63afbin380926 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96bin30873 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fdbin3824 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9bin4097 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scsscbin1343 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scsscbin4429 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scsscbin2979 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scsscbin5691 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scsscbin2926 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scsscbin21632 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scsscbin21198 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scsscbin9184 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scsscbin3275 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scsscbin6002 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scsscbin2055 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scsscbin13902 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scsscbin61809 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scsscbin817 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scsscbin2450 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scsscbin8805 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scsscbin1676 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scsscbin86630 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scsscbin10799 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scsscbin41619 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scsscbin38967 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scsscbin3782 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scsscbin6889 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scsscbin6667 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scsscbin11999 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scsscbin11616 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scsscbin2539 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scsscbin50135 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scsscbin18188 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scsscbin5709 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scsscbin4768 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scsscbin19779 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scsscbin1709 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scsscbin23667 -> 0 bytes
-rw-r--r--test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scsscbin3212 -> 0 bytes
-rw-r--r--ui_dependencies.rb16
-rw-r--r--users/Gemfile16
-rw-r--r--users/leap_web_users.gemspec8
-rw-r--r--users/lib/leap_web_users/engine.rb5
-rw-r--r--users/lib/leap_web_users/version.rb3
-rw-r--r--users/test/functional/sessions_controller_test.rb16
-rw-r--r--users/test/integration/api/account_flow_test.rb27
125 files changed, 231 insertions, 1484 deletions
diff --git a/.gitignore b/.gitignore
index 45b8976..93547cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,4 +17,6 @@
/pkg
/*/pkg
/log
-
+*/Gemfile.lock
+test/dummy/log/*
+test/dummy/tmp/*
diff --git a/DEVELOP.md b/DEVELOP.md
index a483fb7..9548774 100644
--- a/DEVELOP.md
+++ b/DEVELOP.md
@@ -25,20 +25,28 @@ rails plugin new ENGINE_NAME -O --full
See http://guides.rubyonrails.org/engines.html for more general info about engines.
-### Require Leap Web Core ###
+### Require Leap Web Core and dependencies ###
-You need to add leap_web_core to your .gemspec:
+Leap Web Core provides a common set of dependencies for the engines with CouchRest Model etc.
+It also comes with an optional set of UI gems like haml, sass, coffeescript, uglifier, bootstrap-sass, jquery and simple_form.
+
+In order to use the core dependencies you need to add leap_web_core to your .gemspec:
```ruby
+# make sure LeapWeb::VERSION is available
+require File.expand_path('../../lib/leap_web/version.rb', __FILE__)
+# ...
Gem::Specification.new do |s|
# ...
s.add_dependency "rails"
- s.add_dependency "leap_web_core", "~> 0.0.1"
+ s.add_dependency "leap_web_core", LeapWeb::Version
end
```
You also need to require it before you define your engine in lib/my_engine/engine.rb:
```ruby
require "leap_web_core"
+# uncomment if you want the ui gems:
+# require "leap_web_core/ui_dependencies"
module MyEngine
class Engine < ::Rails::Engine
@@ -47,41 +55,14 @@ module MyEngine
end
```
-### Require UI Gems ###
-
-Leap Web Core provides a basic set of UI gems that should be used accross the engines. These include haml, sass, coffeescript, uglifier, bootstrap-sass, jquery and simple_form.
-
-Do you want to add views, javascript and the like to your engine? Then you should use the common gems. In order to do so you need to add them to your gemspec:
+Some development and UI dependencies can not be loaded via leap_web_core. To make them available add the following lines to your engines Gemfile
```ruby
- require "my_engine/version"
- require "leap_web_core/dependencies"
-
- # ...
-
- Gem::Specification.new do |s|
- # ...
- s.add_dependency "rails"
- s.add_dependency "leap_web_core", "~> 0.0.1"
-
- LeapWebCore::Dependencies.add_ui_gems_to_spec(s)
- end
+ eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb'))
+ # uncomment if you want the ui gems:
+ # eval(File.read(File.dirname(__FILE__) + '/../ui_dependencies.rb'))
```
-You also need to require them before you define your engine in lib/my_engine/engine.rb:
-
-```ruby
-require "leap_web_core"
-LeapWebCore::Dependencies.require_ui_gems
-
-module MyEngine
- class Engine < ::Rails::Engine
- # ...
- end
-end
-```
-
-
## Creating Models ##
You can use the normal rails generators to create models. Since you required the leap_web_core gem you will be using CouchRest::Model. So your models inherit from CouchRest::Model::Base.
diff --git a/Gemfile b/Gemfile
index 7666805..40030b5 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,57 +1,15 @@
source 'https://rubygems.org'
-gem 'rails', '3.2.8'
-
-# Bundle edge Rails instead:
-# gem 'rails', :git => 'git://github.com/rails/rails.git'
-
-
-gem 'json'
-
-# Gems used only for assets and not required
-# in production environments by default.
-group :assets do
- gem 'haml-rails', '~> 0.3.4'
- gem 'sass-rails', '~> 3.2.5'
- gem 'coffee-rails', '~> 3.2.2'
-
- # See https://github.com/sstephenson/execjs#readme for more supported runtimes
- gem 'therubyracer', :platforms => :ruby
-
- gem 'uglifier', '>= 1.2.7'
-end
-
-gem 'jquery-rails'
-gem 'bootstrap-sass', '~> 2.0.4'
-gem 'haml', '~> 3.1.7'
-gem 'simple_form'
+eval(File.read(File.dirname(__FILE__) + '/common_dependencies.rb'))
+eval(File.read(File.dirname(__FILE__) + '/ui_dependencies.rb'))
# EITHER fetch all of the leap_web gems in one go
# gem 'leap_web'
# OR use the local versions for development instead:
-gem 'leap_web_core', :path => 'core'
+gem "leap_web_core", :path => 'core'
gem 'leap_web_users', :path => 'users'
gem 'leap_web_certs', :path => 'certs'
gem 'leap_web_help', :path => 'help'
-gem 'couchrest_session_store'
-
-
-group :development, :test do
- gem 'mocha'
-end
-
-# To use ActiveModel has_secure_password
-# gem 'bcrypt-ruby', '~> 3.0.0'
-
-# To use Jbuilder templates for JSON
-# gem 'jbuilder'
-
-# Use unicorn as the app server
-# gem 'unicorn'
-
-# Deploy with Capistrano
-# gem 'capistrano'
-
# To use debugger
gem 'ruby-debug'
diff --git a/Gemfile.lock b/Gemfile.lock
index f23e74e..fe49476 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -3,7 +3,6 @@ PATH
specs:
leap_web_certs (0.1.0)
leap_web_core (= 0.1.0)
- rails (~> 3.2.8)
PATH
remote: core
@@ -12,22 +11,19 @@ PATH
couchrest (~> 1.1.3)
couchrest_model (~> 2.0.0.beta2)
couchrest_session_store (~> 0.0.1)
+ json
rails (~> 3.2.8)
PATH
remote: users
specs:
leap_web_users (0.1.0)
- bootstrap-sass (~> 2.0.4)
- haml (~> 3.1.7)
- jquery-rails
leap_web_core (= 0.1.0)
- rails (~> 3.2.8)
ruby-srp (~> 0.1.1)
- simple_form
GEM
remote: https://rubygems.org/
+ remote: http://rubygems.org/
specs:
actionmailer (3.2.8)
actionpack (= 3.2.8)
@@ -147,7 +143,7 @@ GEM
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
- simple_form (2.0.3)
+ simple_form (2.0.4)
actionpack (~> 3.0)
activemodel (~> 3.0)
sprockets (2.1.3)
@@ -162,9 +158,9 @@ GEM
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.33)
- uglifier (1.3.0)
+ uglifier (1.2.7)
execjs (>= 0.3.0)
- multi_json (~> 1.0, >= 1.0.2)
+ multi_json (~> 1.3)
PLATFORMS
ruby
@@ -172,18 +168,15 @@ PLATFORMS
DEPENDENCIES
bootstrap-sass (~> 2.0.4)
coffee-rails (~> 3.2.2)
- couchrest_session_store
haml (~> 3.1.7)
haml-rails (~> 0.3.4)
jquery-rails
- json
leap_web_certs!
leap_web_core!
leap_web_users!
mocha
- rails (= 3.2.8)
ruby-debug
sass-rails (~> 3.2.5)
simple_form
therubyracer
- uglifier (>= 1.2.7)
+ uglifier (~> 1.2.7)
diff --git a/INSTALL.md b/INSTALL.md
index 8466ddc..18d9c6d 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -23,6 +23,15 @@ Run `bundle install` to install all the required gems.
## Setup ##
+### SRP submodule ###
+
+We currently use a git submodule to include srp-js. This will soon be replaced by a ruby gem. but for now you need to run
+
+```
+ git submodules init
+ git submodules update
+```
+
### Cert Distribution ###
The Webapp can hand out certs for the EIP client. These certs are either picked from a pool in CouchDB or from a file. For now you can either run [Leap CA](http://github.com/leapcode/leap_ca) to fill the pool or you can put your certs file in config/cert.
diff --git a/core/app/controllers/home_controller.rb b/app/controllers/home_controller.rb
index 7db5397..7db5397 100644
--- a/core/app/controllers/home_controller.rb
+++ b/app/controllers/home_controller.rb
diff --git a/certs/Gemfile b/certs/Gemfile
index 9028024..951d1b7 100644
--- a/certs/Gemfile
+++ b/certs/Gemfile
@@ -1,17 +1,14 @@
source "http://rubygems.org"
-# Declare your gem's dependencies in leap_web_certs.gemspec.
+eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb'))
+
+# We require leap_web_core from here so we can use the path option.
+gem "leap_web_core", :path => '../core'
+
+# Declare your gem's dependencies in leap_web_users.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
-# jquery-rails is used by the dummy application
-gem "jquery-rails"
-
-# Declare any dependencies that are still in development here instead of in
-# your gemspec. These might include edge Rails or gems from your path or
-# Git. Remember to move these dependencies to your gemspec before releasing
-# your gem to rubygems.org.
-
# To use debugger
# gem 'ruby-debug'
diff --git a/certs/leap_web_certs.gemspec b/certs/leap_web_certs.gemspec
index 14708df..15a45be 100644
--- a/certs/leap_web_certs.gemspec
+++ b/certs/leap_web_certs.gemspec
@@ -15,9 +15,6 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"]
s.test_files = Dir["test/**/*"]
- s.add_dependency "rails", "~> 3.2.8"
s.add_dependency "leap_web_core", LeapWeb::VERSION
-
- s.add_development_dependency "mocha"
end
diff --git a/certs/lib/leap_web_certs/engine.rb b/certs/lib/leap_web_certs/engine.rb
index 7dbc572..3c8948a 100644
--- a/certs/lib/leap_web_certs/engine.rb
+++ b/certs/lib/leap_web_certs/engine.rb
@@ -1,4 +1,3 @@
-# thou shall require all your dependencies in an engine.
require "leap_web_core"
module LeapWebCerts
diff --git a/certs/lib/leap_web_certs/version.rb b/certs/lib/leap_web_certs/version.rb
deleted file mode 100644
index 800ca0b..0000000
--- a/certs/lib/leap_web_certs/version.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-module LeapWebCerts
- VERSION = "0.0.4"
-end
diff --git a/certs/test/functional/certs_controller_test.rb b/certs/test/functional/certs_controller_test.rb
index 04669f5..295515b 100644
--- a/certs/test/functional/certs_controller_test.rb
+++ b/certs/test/functional/certs_controller_test.rb
@@ -10,6 +10,5 @@ class CertsControllerTest < ActionController::TestCase
get :show
assert_response :success
assert_equal cert.zipped, @response.body
- assert_attachement_filename "cert_stub.zip"
end
end
diff --git a/certs/test/unit/cert_test.rb b/certs/test/unit/cert_test.rb
index 21ef169..9362da2 100644
--- a/certs/test/unit/cert_test.rb
+++ b/certs/test/unit/cert_test.rb
@@ -17,8 +17,9 @@ class CertTest < ActiveSupport::TestCase
end
test "cert.zipped returns the actual data" do
- @sample.save # This is required!
+ @sample.save # This is required !
assert lines = @sample.zipped.split("\n")
+ assert_equal 56, lines.count
assert_equal "-----BEGIN RSA PRIVATE KEY-----", lines.first.chomp
assert_equal "-----END CERTIFICATE-----", lines.last.chomp
end
diff --git a/common_dependencies.rb b/common_dependencies.rb
new file mode 100644
index 0000000..5312a80
--- /dev/null
+++ b/common_dependencies.rb
@@ -0,0 +1,6 @@
+source "http://rubygems.org"
+
+group :test do
+ gem 'mocha', :require => false
+end
+
diff --git a/config/cert b/config/cert
index d8271d6..27db0fd 100644
--- a/config/cert
+++ b/config/cert
@@ -1,31 +1,31 @@
-----BEGIN RSA PRIVATE KEY-----
MIIFfQIBAAKCATEArnxTeU82frha6g4AchpzAA92ry0PD/FZVK5UiMsbwHfAl/XJ
udVH0+51DSC5X4p9esftRQNCaJY/4zESe15Sna7aR+FyUoE+LcPpzMpCYH61TUzj
-YLQLzfay6cw1arndyryELgehWh2KiDl/SOHQ8c914DQC87f3tvmWI7F0zb9KWE9c
-XepnHyr2QJDzMiLuL6UC7ChJYgqYAKDfElQHfCaQCteOUK8hc+uTReTXpAtD3S3X
-rC3KeJR+jOynTkJ5tLb/VwS2rmhZOWktBhAJflgKLXSc6Cz2uJBeARNLvTBAj66q
-zfvMIlBOBRCWSQfvzNlhZvqX2YKdal8egC9CAuBhUcIfExunVQnU+xbRx7W9Gg3i
+YLQLzfay6cw1arn QC87f3tvmWI7F0zb9KWE9c
+XepnHyr2QJDzMiL This is an invalid eOUK8hc+uTReTXpAtD3S3X
+rC3KeJR+jOynTkJ key block for testing Sc6Cz2uJBeARNLvTBAj66q
+zfvMIlBOBRCWSQf please replace with a IfExunVQnU+xbRx7W9Gg3i
+NV307K4fgLJbY4b valid client key Y69SOuXgz7ECsoXy1bWQsi
+TETM5TX/6dADz0z FCc8I167mT25s2HNLnZ8AI
8zqMwDMRf9x7a4GBGmm7n+YSCLy3f8fejw2ZAQIDAQABAoIBMAt3bSQ8Nz3AT20x
-NV307K4fgLJbY4bYhVaCIa5fAU22hkgWOscFGUl3/WY69SOuXgz7ECsoXy1bWQsi
-TETM5TX/6dADz0z/uaktRkiTLtCDkyuSIXaB7oKpszFCc8I167mT25s2HNLnZ8AI
XfEusdn/mGSpq7Co3CprStlr+IaVixpe622FPCNOt0x1RMjR2yrzYkvzC9DZperp
mWLj7XF3X8FS3gd0Whhl4bS5yZuC8cd7Gq4bx8mGPIwqQzwOXb1mJXt5RPv+zU6X
J4cSX0GIUBNb1yVsUDouqo1q+saPgBSjhS4xr6sb38XALvzvgVvY/M7YGpSr0Vyv
ErAwxaGpdk+RppAjcxWBXLuMcIgtU+gSoEogdYzJkoJdwOfcyIllyqlaamcv4T84
gMWRFncCgZkAzUBt1t3GpuyGVPkD2evtQrBWwg09kx1PAyoNwLDOiarmzUr/euvC
-m+FZ324xLCYXYBDXCwa3B1YsX9d54JuzXzClr+t0xoz5lZzDLgwEEdK9bttGBL0w
4W+BfbvmH3Q1dfyQMc/+Y2/LAhvwwkp1F66KsF1xcz6q3FCDN0BGurhIH3rsS1r8
+m+FZ324xLCYXYBDXCwa3B1YsX9d54JuzXzClr+t0xoz5lZzDLgwEEdK9bttGBL0w
ReIl7KW/TwKDbkPxe+3yCI8CgZkA2aCJUmCtkvaCIX0Udr6g3iyu6lQYbq532/FW
MNh+KJA3NqXOvGZd9T1DfjlxOqsfGD4H92ekUdy/GdX9SAH4A0RW24gUazNY9N1d
-4Zr+GyGz96AetksM5svDVqVed9qzxqPX7/i16F3HmIJKS8lVXLj3TDBJAQTJNhSN
tdkq8OAxwswquvXC0U5WXsZVp6z1CFawjUiZbW8CgZkAvP9V5SOkN7LWY0pFJJad
i+oKiXdduqijR/uiXEuyc4v+KQ2lQM/1DEqu0hGKj+enYJtBGPMe+E9+XuZwYMWe
nsmR1/LNPcM0U3LdOvpviOXv7zNUPyri5sMhjuDFnzMHw1REhsnKqk+XtKJ7yLx9
I8hiBtKUlBUhietNWEQEnQzxxKMRELaAU+1RFJ7vEVb0JUXFCGPrmbsCgZkAyZrW
+4Zr+GyGz96AetksM5svDVqVed9qzxqPX7/i16F3HmIJKS8lVXLj3TDBJAQTJNhSN
m+HD6mlClBNzaa2fCTMLtzjAiYhGsRIZbpagCKPRAmcH5bBPSmi+pahBJMBxxdtx
NdhleRCuWBjM0nBAeYZNkIG3qLegqPaJif4zeJ74QWWsDePox8Xr59C6ev23nUUb
-PcuBeQmnZbkNarfQxFz1ezcf6jmszNStktDj3tFSR8srqpcRKyUPDi1eHD81n8vv
MnMW7zECgZkAwOOGuqJHyUlsVuErs5c/rLyY0NAqrGoiBp3o5fGnuINzrZSO3zvY
+PcuBeQmnZbkNarfQxFz1ezcf6jmszNStktDj3tFSR8srqpcRKyUPDi1eHD81n8vv
h1jew1zPRQaQvVZ88p0xacYJeRckbKxcIPGweVqpT9ZJAEGg4J6FFcH+fOIra/7R
TgLJs443xbTO2GM/25Anc/Pj4bnL2GWqDTurTxANAtmKenuWHTcz47Pm5WNhZP/l
WWxi9MBzz/80IediLG6qrlU=
@@ -33,24 +33,24 @@ WWxi9MBzz/80IediLG6qrlU=
-----BEGIN CERTIFICATE-----
MIIEAzCCAlWgAwIBAgIEUFDq+zANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRU
RVNUMB4XDTEyMDkxMjIwMDUxNVoXDTEzMDkxMjIwMDUxNVowOjEPMA0GA1UEChMG
-eHgub3JnMScwJQYDVQQDEx5xdXVnaGVjYWUxYmFpNW9oU2hhaDdwaGlkYWVxdXUw
-ggFSMA0GCSqGSIb3DQEBAQUAA4IBPwAwggE6AoIBMQCufFN5TzZ+uFrqDgByGnMA
-D3avLQ8P8VlUrlSIyxvAd8CX9cm51UfT7nUNILlfin16x+1FA0Jolj/jMRJ7XlKd
-rtpH4XJSgT4tw+nMykJgfrVNTONgtAvN9rLpzDVqud3KvIQuB6FaHYqIOX9I4dDx
-z3XgNALzt/e2+ZYjsXTNv0pYT1xd6mcfKvZAkPMyIu4vpQLsKEliCpgAoN8SVAd8
-JpAK145QryFz65NF5NekC0PdLdesLcp4lH6M7KdOQnm0tv9XBLauaFk5aS0GEAl+
-WAotdJzoLPa4kF4BE0u9MECPrqrN+8wiUE4FEJZJB+/M2WFm+pfZgp1qXx6AL0IC
+YLQLzfay6cw1arn QC87f3tvmWI7F0zb9KWE9c
+XepnHyr2QJDzMiL This is an invalid eOUK8hc+uTReTXpAtD3S3X
+rC3KeJR+jOynTkJ cert block for testing Sc6Cz2uJBeARNLvTBAj66q
+zfvMIlBOBRCWSQf please replace with a IfExunVQnU+xbRx7W9Gg3i
+NV307K4fgLJbY4b valid server cert Y69SOuXgz7ECsoXy1bWQsi
+TETM5TX/6dADz0z FCc8I167mT25s2HNLnZ8AI
4GFRwh8TG6dVCdT7FtHHtb0aDeLzOozAMxF/3HtrgYEaabuf5hIIvLd/x96PDZkB
+WAotdJzoLPa4kF4BE0u9MECPrqrN+8wiUE4FEJZJB+/M2WFm+pfZgp1qXx6AL0IC
AgMBAAGjdjB0MAwGA1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDwYD
VR0PAQH/BAUDAwegADAdBgNVHQ4EFgQUU9Uc5ljBzINN4S6oj80rn+mJTLEwHwYD
-VR0jBBgwFoAU/z1/F2dGNow5Kac+jx7NtyIM0BAwDQYJKoZIhvcNAQELBQADggGX
AMCxt8hxLtQlSgfY4MHxlNOE/hepArRQ1KoqW8TZ3DaDZacYuHK6TkarBuVshrAa
+VR0jBBgwFoAU/z1/F2dGNow5Kac+jx7NtyIM0BAwDQYJKoZIhvcNAQELBQADggGX
TkPLvTbMIeZ/DGC6snrnyspVPVun8X1NcdkqOiSWCt5Y1Li4sClXT+XUFaKES4NS
SN8LDKX0J+q2n4nRuotaOdq12qs8ZQkMsSI5ueR0soHY1XuSJCK75PFxLJKq3ydm
-c/YgEkmZwOBR7ypXnT0Tcele120v+qhCRSeoZIEwtm27Dp8+My82fpx7xMKYAHn8
FhMVy/bQZgl9QAt7HNK7QoISBmkQFYey0Qq7aotloMhlIyCSN569RcKHdPhZCsCE
-M6lQJXeXaD8sR9wE2nhxKnTJToebjr9mnlgavSsotnzjnm9fMt5CPGOUtG/qGNfB
+c/YgEkmZwOBR7ypXnT0Tcele120v+qhCRSeoZIEwtm27Dp8+My82fpx7xMKYAHn8
VhdODq6KZ9Tk8MnYenC7SfiJ/cR0N/Yw5R8Yaa1K5qO+dyIwfXTkTr/Kg97N72jE
+M6lQJXeXaD8sR9wE2nhxKnTJToebjr9mnlgavSsotnzjnm9fMt5CPGOUtG/qGNfB
GB/GF1HkbZW7VnGWjgNAozftTRCsFoCTwv/ICcW+vYEDVh+hzWjJ/KLl7PruKDPS
rBlWWdV02QtVKpKYKvynML9kyEX6HeM=
-----END CERTIFICATE-----
diff --git a/config/routes.rb b/config/routes.rb
index ca8d753..3b29251 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,4 +1,6 @@
LeapWeb::Application.routes.draw do
+ root :to => "home#index"
+
# The priority is based upon order of creation:
# first created -> highest priority.
@@ -46,10 +48,6 @@ LeapWeb::Application.routes.draw do
# resources :products
# end
- # You can have the root of your site routed with "root"
- # just remember to delete public/index.html.
- # root :to => 'welcome#index'
-
# See how all your routes lay out with "rake routes"
# This is a legacy wild controller route that's not recommended for RESTful applications.
diff --git a/core/Readme.md b/core/Readme.md
index f76999e..795c0a4 100644
--- a/core/Readme.md
+++ b/core/Readme.md
@@ -2,3 +2,5 @@ Leap Web Core
===
[Leap](http://www.leap.se) is the Leap Encryption Access Project and this is the rails app for its web interface.
+
+This is the its core gem. Currently it only serves to load shared dependencies.
diff --git a/core/app/assets/images/leap_web_core/.gitkeep b/core/app/assets/images/leap_web_core/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/core/app/assets/images/leap_web_core/.gitkeep
+++ /dev/null
diff --git a/core/app/assets/javascripts/leap_web_core/.gitkeep b/core/app/assets/javascripts/leap_web_core/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/core/app/assets/javascripts/leap_web_core/.gitkeep
+++ /dev/null
diff --git a/core/app/assets/stylesheets/leap_web_core/.gitkeep b/core/app/assets/stylesheets/leap_web_core/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/core/app/assets/stylesheets/leap_web_core/.gitkeep
+++ /dev/null
diff --git a/core/app/controllers/.gitkeep b/core/app/controllers/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/core/app/controllers/.gitkeep
+++ /dev/null
diff --git a/core/app/helpers/.gitkeep b/core/app/helpers/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/core/app/helpers/.gitkeep
+++ /dev/null
diff --git a/core/app/mailers/.gitkeep b/core/app/mailers/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/core/app/mailers/.gitkeep
+++ /dev/null
diff --git a/core/app/models/.gitkeep b/core/app/models/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/core/app/models/.gitkeep
+++ /dev/null
diff --git a/core/app/views/.gitkeep b/core/app/views/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/core/app/views/.gitkeep
+++ /dev/null
diff --git a/core/app/views/home/index.html.haml b/core/app/views/home/index.html.haml
deleted file mode 100644
index 82f5152..0000000
--- a/core/app/views/home/index.html.haml
+++ /dev/null
@@ -1 +0,0 @@
-%h3 Home
diff --git a/core/leap_web_core.gemspec b/core/leap_web_core.gemspec
index c3bb98d..e721637 100644
--- a/core/leap_web_core.gemspec
+++ b/core/leap_web_core.gemspec
@@ -16,8 +16,10 @@ Gem::Specification.new do |s|
s.test_files = Dir["test/**/*"]
s.add_dependency "rails", "~> 3.2.8"
+
s.add_dependency "couchrest", "~> 1.1.3"
s.add_dependency "couchrest_model", "~> 2.0.0.beta2"
s.add_dependency "couchrest_session_store", "~> 0.0.1"
+ s.add_dependency "json"
end
diff --git a/core/lib/leap_web_core.rb b/core/lib/leap_web_core.rb
index 16004f8..8826880 100644
--- a/core/lib/leap_web_core.rb
+++ b/core/lib/leap_web_core.rb
@@ -1,5 +1,12 @@
+require "rails"
+
+require "couchrest"
+require "couchrest_model"
+require "couchrest_session_store"
+
+require "json"
+
require "extensions/testing"
-require "leap_web_core/dependencies"
require "leap_web_core/engine"
module LeapWebCore
diff --git a/core/lib/leap_web_core/ui_dependencies.rb b/core/lib/leap_web_core/ui_dependencies.rb
new file mode 100644
index 0000000..e0a0b86
--- /dev/null
+++ b/core/lib/leap_web_core/ui_dependencies.rb
@@ -0,0 +1,11 @@
+require "haml"
+require "bootstrap-sass"
+require "jquery-rails"
+require "simple_form"
+
+if Rails.env == "development"
+ require "haml-rails"
+ require "sass-rails"
+ require "coffee-rails"
+ require "uglifier"
+end
diff --git a/core/lib/leap_web_core/version.rb b/core/lib/leap_web_core/version.rb
deleted file mode 100644
index 6a34982..0000000
--- a/core/lib/leap_web_core/version.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-module LeapWebCore
- VERSION = "0.0.1"
-end
diff --git a/core/test/integration/navigation_test.rb b/core/test/integration/navigation_test.rb
deleted file mode 100644
index eec8c0e..0000000
--- a/core/test/integration/navigation_test.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require 'test_helper'
-
-class NavigationTest < ActionDispatch::IntegrationTest
-
- # test "the truth" do
- # assert true
- # end
-end
-
diff --git a/core/test/leap_web_core_test.rb b/core/test/leap_web_core_test.rb
deleted file mode 100644
index 0dd71ff..0000000
--- a/core/test/leap_web_core_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class LeapWebCoreTest < ActiveSupport::TestCase
- test "truth" do
- assert_kind_of Module, LeapWebCore
- end
-end
diff --git a/core/test/test_helper.rb b/core/test/test_helper.rb
deleted file mode 100644
index 1e26a31..0000000
--- a/core/test/test_helper.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# Configure Rails Environment
-ENV["RAILS_ENV"] = "test"
-
-require File.expand_path("../dummy/config/environment.rb", __FILE__)
-require "rails/test_help"
-
-Rails.backtrace_cleaner.remove_silencers!
-
-# Load support files
-Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
-
-# Load fixtures from the engine
-if ActiveSupport::TestCase.method_defined?(:fixture_path=)
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
-end
diff --git a/help/Gemfile b/help/Gemfile
index 8dfcd78..5e895e9 100644
--- a/help/Gemfile
+++ b/help/Gemfile
@@ -1,20 +1,15 @@
source "http://rubygems.org"
-# Declare your gem's dependencies in leap_web_help.gemspec.
+eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb'))
+eval(File.read(File.dirname(__FILE__) + '/..//ui_dependencies.rb'))
+
+# We require leap_web_core from here so we can use the path option.
+gem "leap_web_core", :path => '../core'
+
+# Declare your gem's dependencies in leap_web_users.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
-# jquery-rails is used by the dummy application
-gem "jquery-rails"
-
-# Declare any dependencies that are still in development here instead of in
-# your gemspec. These might include edge Rails or gems from your path or
-# Git. Remember to move these dependencies to your gemspec before releasing
-# your gem to rubygems.org.
-
# To use debugger
- gem 'ruby-debug'
-
- # TODO: not sure I actually want this here, but trying:
- gem 'therubyracer', :platforms => :ruby
+# gem 'ruby-debug'
diff --git a/help/leap_web_help.gemspec b/help/leap_web_help.gemspec
index 2cc147c..09827dc 100644
--- a/help/leap_web_help.gemspec
+++ b/help/leap_web_help.gemspec
@@ -1,6 +1,5 @@
$:.push File.expand_path("../lib", __FILE__)
-require "leap_web_core/dependencies"
require File.expand_path('../../lib/leap_web/version.rb', __FILE__)
# Describe your gem and declare its dependencies:
@@ -16,10 +15,5 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"]
s.test_files = Dir["test/**/*"]
- s.add_dependency "rails", "~> 3.2.8"
- s.add_dependency "leap_web_core", "~> #{LeapWeb::VERSION}"
-
- LeapWebCore::Dependencies.add_ui_gems_to_spec(s)
-
- # s.add_dependency "jquery-rails"
+ s.add_dependency "leap_web_core", LeapWeb::VERSION
end
diff --git a/help/lib/leap_web_help/engine.rb b/help/lib/leap_web_help/engine.rb
index 2ff3e86..4146dfc 100644
--- a/help/lib/leap_web_help/engine.rb
+++ b/help/lib/leap_web_help/engine.rb
@@ -1,8 +1,6 @@
# thou shall require all your dependencies in an engine.
require "leap_web_core"
-#require "leap_web_users" #necessary?
-
-LeapWebCore::Dependencies.require_ui_gems
+require "leap_web_core/ui_dependencies"
module LeapWebHelp
class Engine < ::Rails::Engine
diff --git a/help/lib/leap_web_help/version.rb b/help/lib/leap_web_help/version.rb
deleted file mode 100644
index 6a7c85d..0000000
--- a/help/lib/leap_web_help/version.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-module LeapWebHelp
- VERSION = "0.0.1"
-end
diff --git a/lib/leap_web/version.rb b/lib/leap_web/version.rb
index bac8655..6a74082 100644
--- a/lib/leap_web/version.rb
+++ b/lib/leap_web/version.rb
@@ -1,3 +1,3 @@
module LeapWeb
- VERSION = "0.1.0"
+ VERSION = "0.1.0" unless defined?(LeapWeb::VERSION)
end
diff --git a/lib/tasks/gems.rake b/lib/tasks/gems.rake
index 27eb04c..8120235 100644
--- a/lib/tasks/gems.rake
+++ b/lib/tasks/gems.rake
@@ -12,7 +12,7 @@ namespace :gem do
putsys "bundle exec rake gem"
end
- desc "run rake gem for all gems"
+ desc "clear pkg directory for all gems"
task :clear do
each_gem do |gem_name|
putsys "rm -rf #{gem_name}/pkg"
diff --git a/lib/tasks/task_helper.rb b/lib/tasks/task_helper.rb
index aa37698..26e60bc 100644
--- a/lib/tasks/task_helper.rb
+++ b/lib/tasks/task_helper.rb
@@ -2,7 +2,7 @@ require File.expand_path('../../../lib/leap_web/version', __FILE__)
module TaskHelper
- ENGINES = %w(core users certs help)
+ ENGINES = %w(users certs help)
def putsys(cmd)
puts cmd
diff --git a/lib/tasks/test.rake b/lib/tasks/test.rake
new file mode 100644
index 0000000..3c87b45
--- /dev/null
+++ b/lib/tasks/test.rake
@@ -0,0 +1,18 @@
+namespace :test do
+
+ Rails::SubTestTask.new(:units => "test:prepare") do |t|
+ t.libs << "test"
+ t.pattern = '*/test/unit/**/*_test.rb'
+ end
+
+ Rails::SubTestTask.new(:functionals => "test:prepare") do |t|
+ t.libs << "test"
+ t.pattern = '*/test/functional/**/*_test.rb'
+ end
+
+ Rails::SubTestTask.new(:integration => "test:prepare") do |t|
+ t.libs << "test"
+ t.pattern = '*/test/integration/**/*_test.rb'
+ end
+
+end
diff --git a/test/dummy/config/cert b/test/dummy/config/cert
index e69de29..27db0fd 100644
--- a/test/dummy/config/cert
+++ b/test/dummy/config/cert
@@ -0,0 +1,56 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIFfQIBAAKCATEArnxTeU82frha6g4AchpzAA92ry0PD/FZVK5UiMsbwHfAl/XJ
+udVH0+51DSC5X4p9esftRQNCaJY/4zESe15Sna7aR+FyUoE+LcPpzMpCYH61TUzj
+YLQLzfay6cw1arn QC87f3tvmWI7F0zb9KWE9c
+XepnHyr2QJDzMiL This is an invalid eOUK8hc+uTReTXpAtD3S3X
+rC3KeJR+jOynTkJ key block for testing Sc6Cz2uJBeARNLvTBAj66q
+zfvMIlBOBRCWSQf please replace with a IfExunVQnU+xbRx7W9Gg3i
+NV307K4fgLJbY4b valid client key Y69SOuXgz7ECsoXy1bWQsi
+TETM5TX/6dADz0z FCc8I167mT25s2HNLnZ8AI
+8zqMwDMRf9x7a4GBGmm7n+YSCLy3f8fejw2ZAQIDAQABAoIBMAt3bSQ8Nz3AT20x
+XfEusdn/mGSpq7Co3CprStlr+IaVixpe622FPCNOt0x1RMjR2yrzYkvzC9DZperp
+mWLj7XF3X8FS3gd0Whhl4bS5yZuC8cd7Gq4bx8mGPIwqQzwOXb1mJXt5RPv+zU6X
+J4cSX0GIUBNb1yVsUDouqo1q+saPgBSjhS4xr6sb38XALvzvgVvY/M7YGpSr0Vyv
+ErAwxaGpdk+RppAjcxWBXLuMcIgtU+gSoEogdYzJkoJdwOfcyIllyqlaamcv4T84
+gMWRFncCgZkAzUBt1t3GpuyGVPkD2evtQrBWwg09kx1PAyoNwLDOiarmzUr/euvC
+4W+BfbvmH3Q1dfyQMc/+Y2/LAhvwwkp1F66KsF1xcz6q3FCDN0BGurhIH3rsS1r8
+m+FZ324xLCYXYBDXCwa3B1YsX9d54JuzXzClr+t0xoz5lZzDLgwEEdK9bttGBL0w
+ReIl7KW/TwKDbkPxe+3yCI8CgZkA2aCJUmCtkvaCIX0Udr6g3iyu6lQYbq532/FW
+MNh+KJA3NqXOvGZd9T1DfjlxOqsfGD4H92ekUdy/GdX9SAH4A0RW24gUazNY9N1d
+tdkq8OAxwswquvXC0U5WXsZVp6z1CFawjUiZbW8CgZkAvP9V5SOkN7LWY0pFJJad
+i+oKiXdduqijR/uiXEuyc4v+KQ2lQM/1DEqu0hGKj+enYJtBGPMe+E9+XuZwYMWe
+nsmR1/LNPcM0U3LdOvpviOXv7zNUPyri5sMhjuDFnzMHw1REhsnKqk+XtKJ7yLx9
+I8hiBtKUlBUhietNWEQEnQzxxKMRELaAU+1RFJ7vEVb0JUXFCGPrmbsCgZkAyZrW
+4Zr+GyGz96AetksM5svDVqVed9qzxqPX7/i16F3HmIJKS8lVXLj3TDBJAQTJNhSN
+m+HD6mlClBNzaa2fCTMLtzjAiYhGsRIZbpagCKPRAmcH5bBPSmi+pahBJMBxxdtx
+NdhleRCuWBjM0nBAeYZNkIG3qLegqPaJif4zeJ74QWWsDePox8Xr59C6ev23nUUb
+MnMW7zECgZkAwOOGuqJHyUlsVuErs5c/rLyY0NAqrGoiBp3o5fGnuINzrZSO3zvY
+PcuBeQmnZbkNarfQxFz1ezcf6jmszNStktDj3tFSR8srqpcRKyUPDi1eHD81n8vv
+h1jew1zPRQaQvVZ88p0xacYJeRckbKxcIPGweVqpT9ZJAEGg4J6FFcH+fOIra/7R
+TgLJs443xbTO2GM/25Anc/Pj4bnL2GWqDTurTxANAtmKenuWHTcz47Pm5WNhZP/l
+WWxi9MBzz/80IediLG6qrlU=
+-----END RSA PRIVATE KEY-----
+-----BEGIN CERTIFICATE-----
+MIIEAzCCAlWgAwIBAgIEUFDq+zANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRU
+RVNUMB4XDTEyMDkxMjIwMDUxNVoXDTEzMDkxMjIwMDUxNVowOjEPMA0GA1UEChMG
+YLQLzfay6cw1arn QC87f3tvmWI7F0zb9KWE9c
+XepnHyr2QJDzMiL This is an invalid eOUK8hc+uTReTXpAtD3S3X
+rC3KeJR+jOynTkJ cert block for testing Sc6Cz2uJBeARNLvTBAj66q
+zfvMIlBOBRCWSQf please replace with a IfExunVQnU+xbRx7W9Gg3i
+NV307K4fgLJbY4b valid server cert Y69SOuXgz7ECsoXy1bWQsi
+TETM5TX/6dADz0z FCc8I167mT25s2HNLnZ8AI
+4GFRwh8TG6dVCdT7FtHHtb0aDeLzOozAMxF/3HtrgYEaabuf5hIIvLd/x96PDZkB
+WAotdJzoLPa4kF4BE0u9MECPrqrN+8wiUE4FEJZJB+/M2WFm+pfZgp1qXx6AL0IC
+AgMBAAGjdjB0MAwGA1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDwYD
+VR0PAQH/BAUDAwegADAdBgNVHQ4EFgQUU9Uc5ljBzINN4S6oj80rn+mJTLEwHwYD
+AMCxt8hxLtQlSgfY4MHxlNOE/hepArRQ1KoqW8TZ3DaDZacYuHK6TkarBuVshrAa
+VR0jBBgwFoAU/z1/F2dGNow5Kac+jx7NtyIM0BAwDQYJKoZIhvcNAQELBQADggGX
+TkPLvTbMIeZ/DGC6snrnyspVPVun8X1NcdkqOiSWCt5Y1Li4sClXT+XUFaKES4NS
+SN8LDKX0J+q2n4nRuotaOdq12qs8ZQkMsSI5ueR0soHY1XuSJCK75PFxLJKq3ydm
+FhMVy/bQZgl9QAt7HNK7QoISBmkQFYey0Qq7aotloMhlIyCSN569RcKHdPhZCsCE
+c/YgEkmZwOBR7ypXnT0Tcele120v+qhCRSeoZIEwtm27Dp8+My82fpx7xMKYAHn8
+VhdODq6KZ9Tk8MnYenC7SfiJ/cR0N/Yw5R8Yaa1K5qO+dyIwfXTkTr/Kg97N72jE
+M6lQJXeXaD8sR9wE2nhxKnTJToebjr9mnlgavSsotnzjnm9fMt5CPGOUtG/qGNfB
+GB/GF1HkbZW7VnGWjgNAozftTRCsFoCTwv/ICcW+vYEDVh+hzWjJ/KLl7PruKDPS
+rBlWWdV02QtVKpKYKvynML9kyEX6HeM=
+-----END CERTIFICATE-----
diff --git a/test/dummy/log/test.log b/test/dummy/log/test.log
deleted file mode 100644
index ccc2d30..0000000
--- a/test/dummy/log/test.log
+++ /dev/null
@@ -1,1244 +0,0 @@
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 21:42:54 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 62ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 21:42:55 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 13ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 21:42:55 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 15ms
-Processing by SessionsController#destroy as HTML
-Completed 500 Internal Server Error in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 500 Internal Server Error in 190ms
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"a123", "login"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 1ms
-Processing by UsersController#new as HTML
-Completed 500 Internal Server Error in 30ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 22:56:01 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 1094ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 22:56:03 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 15ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 22:56:03 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 64ms
-Processing by SessionsController#destroy as HTML
-Completed 500 Internal Server Error in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"me", "client_auth"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 500 Internal Server Error in 1010ms
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"a123", "login"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 1ms
-Processing by UsersController#new as HTML
-Completed 500 Internal Server Error in 68ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:49:45 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 42ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:49:45 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 12ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:49:45 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 13ms
-Processing by SessionsController#destroy as HTML
-Completed 500 Internal Server Error in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 500 Internal Server Error in 99ms
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"a123", "login"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 1ms
-Processing by UsersController#new as HTML
-Completed 500 Internal Server Error in 29ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:55:38 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 43ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:55:38 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 15ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:55:38 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 21ms
-Processing by SessionsController#destroy as HTML
-Completed 500 Internal Server Error in 2ms
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"me", "client_auth"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 500 Internal Server Error in 99ms
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"me", "A"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"me", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 1ms
-Processing by UsersController#new as HTML
-Completed 500 Internal Server Error in 29ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:03:59 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 45ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:03:59 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 15ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:03:59 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 17ms
-Processing by SessionsController#destroy as HTML
-Completed 500 Internal Server Error in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"me", "client_auth"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 500 Internal Server Error in 98ms
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"me", "A"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 1ms
-Processing by UsersController#new as HTML
-Completed 500 Internal Server Error in 34ms
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 2ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:08:20 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 49ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:08:21 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 13ms (Views: 0.2ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:08:21 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 13ms (Views: 0.3ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"me", "client_auth"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 90ms (Views: 89.4ms)
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"a123", "login"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 3ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 19ms (Views: 18.2ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 2ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:34:21 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 96ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:34:21 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 12ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:34:21 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 13ms (Views: 0.2ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"me", "client_auth"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 212ms (Views: 211.6ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"me", "A"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"me", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 3ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 35ms (Views: 34.5ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 1ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:35:32 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 50ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:35:32 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 18ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:35:32 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 13ms (Views: 0.3ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 91ms (Views: 91.1ms)
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"a123", "login"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 2ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 18ms (Views: 17.6ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 1ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:02 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 52ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:02 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 16ms (Views: 0.2ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:02 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 12ms (Views: 0.2ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"me", "client_auth"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 38ms (Views: 38.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"me", "A"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 0ms (Views: 0.3ms)
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"me", "client_auth"=>"a123"}
-Completed 200 OK in 0ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 2ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 18ms (Views: 17.2ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 2ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:14 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 50ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:14 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 14ms (Views: 0.2ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:15 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 13ms (Views: 0.2ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 38ms (Views: 37.6ms)
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"a123", "login"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 0ms (Views: 0.3ms)
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"me", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 3ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 17ms (Views: 17.0ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 1ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 56ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"integration_test_user", "A"=>"86b7b6251081d6cc54e23706ecb92019f7eb770dbe9161e97371a155aa3ba904"}
-Completed 200 OK in 8ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"integration_test_user", "client_auth"=>"6fe632efa6c4bc707cbca53bdc327e3ac0e8dd3de06ec60cc70ae66bccffbec5"}
-Completed 200 OK in 69ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 16ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"integration_test_user", "A"=>"54dbd0535db592074d3993038676039e05e09704f53b893311d0a069a520ee5a"}
-Completed 200 OK in 8ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"integration_test_user", "client_auth"=>"6c731717540ed41bd701ec7672d8e1d9b11c7bd7e66d866d564241aa012d3eba"}
-Completed 200 OK in 9ms (Views: 0.4ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 15ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"wronglogin", "A"=>"736077507e34ed76a8510cb691647084d98fdd386d460c84228e2085eea6cf60"}
-Completed 200 OK in 64ms (Views: 0.4ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"me", "client_auth"=>"a123"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 40ms (Views: 40.0ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"me", "A"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"me", "client_auth"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 5ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 24ms (Views: 23.4ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 1ms
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 100ms (Views: 100.1ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"me", "A"=>"a123"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 8ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 100ms (Views: 99.0ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 1ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 52ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"integration_test_user", "A"=>"18d5f90618da300e42ddfca4ae0892d70188fc1bd15806a62e9727694d048d41"}
-Completed 200 OK in 7ms (Views: 0.2ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"integration_test_user", "client_auth"=>"c9669e6d2e637a2dd4c88f1e14dac9411feff213a594d5375392fd9507be7554"}
-Completed 200 OK in 12ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 11ms (Views: 0.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"integration_test_user", "A"=>"5c888674fc202f583edb74ddd76d51d1d91f29ef13f275e0e6590f489697b984"}
-Completed 200 OK in 7ms (Views: 0.2ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"integration_test_user", "client_auth"=>"a69f83478fb2794670d4a01f1d8fafc3aab9552dff2e40608fc0c1465d503000"}
-Completed 200 OK in 9ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"integration_test_user", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 14ms (Views: 0.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"wronglogin", "A"=>"1d4dd9d87394fb996cf5c9cd26ceae999ee91d6e918ae4898487d29299f97def"}
-Completed 200 OK in 4ms (Views: 0.4ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 53ms (Views: 0.7ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"f13b416ca8f8f26d00e005fadd4c94744ff866110f9d090ae23ac249a7da6079", "login"=>"integration_test_user"}
-Completed 200 OK in 6ms (Views: 0.2ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"608400e10ba35bb964b1e2d69d141484f7ed1307a77f1f991e33bb713906b00c", "id"=>"integration_test_user"}
-Completed 200 OK in 61ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 13ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"73f9bc1a40ae806817f6cab3a355f9c575d7574402b426b89c2c66d1c39ab82a", "login"=>"integration_test_user"}
-Completed 200 OK in 9ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"79473702fd2354792f4403f7116bd664b5f799cb40f328422c02a07cf0a1623e", "id"=>"integration_test_user"}
-Completed 200 OK in 9ms (Views: 0.4ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 12ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"a84357df5892d8cdf74d55947f7ac8edbcea92c8a19af7403ec3db027dd8ebc8", "login"=>"wronglogin"}
-Completed 200 OK in 5ms (Views: 0.3ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 94ms (Views: 93.5ms)
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"a123", "login"=>"me"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 3ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 20ms (Views: 19.0ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 1ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"integration_test_user", "password_verifier"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 49ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"integration_test_user", "A"=>"2f856f5d037678c93fe314de8368100990c6ff2262f05b6a839e85dfa24677b"}
-Completed 200 OK in 8ms (Views: 0.2ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"efaf709c62d216af9651ddba8025f54d22dcec60907bd74e78fc8cf48529a86e", "id"=>"integration_test_user"}
-Completed 200 OK in 62ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"integration_test_user", "password_verifier"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 13ms (Views: 0.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"integration_test_user", "A"=>"2b61fe1e9c6dcf534267f898677aaff6dacb3ba59d7f7f73d20a3653aea5d5e3"}
-Completed 200 OK in 9ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"61fa2879b62eacf34216d4b9560a64dd30541fc71192984fdbd7113dbc25f00a", "id"=>"integration_test_user"}
-Completed 200 OK in 9ms (Views: 0.4ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"integration_test_user", "password_verifier"=>"[FILTERED]"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 15ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"wronglogin", "A"=>"f7fe517fb7aefc41633d1e2f0b4df845321479f37ffc713407daff0d9551e14e"}
-Completed 200 OK in 5ms (Views: 0.5ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 89ms (Views: 89.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"me", "A"=>"a123"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#new as HTML
-Completed 200 OK in 29ms (Views: 28.0ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 49ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"799c9b3dd2e5e8819b602709392116adda74a2bf9b9099067c9053b5ac451e8d", "login"=>"integration_test_user"}
-Completed 200 OK in 6ms (Views: 0.2ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"95bb7fbdbe81bb4a23979b454fe411f30cbe84c38addc36c681a70fe3e9d1954", "id"=>"integration_test_user"}
-Completed 200 OK in 61ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 12ms (Views: 0.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"dd43208fd903fa0566b28762747ba5c5c9d14d2483254078247c8066068e8843", "login"=>"integration_test_user"}
-Completed 200 OK in 7ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"c22060242c28c76491026a98b812d16a94bac821d3c32443810ce1ed12ed3b9b", "id"=>"integration_test_user"}
-Completed 200 OK in 8ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 12ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"70310508bd80485f27e7b073ca4df34b6f2385eab38982e4d9470af4044d934a", "login"=>"wronglogin"}
-Completed 200 OK in 4ms (Views: 0.3ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 90ms (Views: 89.3ms)
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"a123", "login"=>"me"}
-Completed 200 OK in 1ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 3ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 18ms (Views: 17.6ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 1ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 104ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"integration_test_user", "A"=>"42dc9d94507a80b9bb57bc77594e4c5938487bf36c72db98765522535bf54f5f"}
-Completed 200 OK in 7ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"52a9145dcde0842b075d41a82651a2de18bf4b283bca8e386e7f75410f3d6463", "id"=>"integration_test_user"}
-Completed 200 OK in 11ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 12ms (Views: 0.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"integration_test_user", "A"=>"df80bc7b52846fdb35c3a396432efe5963dc0f766ff4fe1b825462bf69ea8bf4"}
-Completed 200 OK in 9ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"5c4be413569756b55d6e3e8e8d7b76078a1fe080da39a410abb9085db2eb04fd", "id"=>"integration_test_user"}
-Completed 200 OK in 8ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 11ms (Views: 0.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"wronglogin", "A"=>"2a73003b8c8ca88e6b051cbf344df5937530413998f13f85045ae31a5be8fb9"}
-Completed 200 OK in 54ms (Views: 0.4ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 39ms (Views: 38.4ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"me", "A"=>"a123"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 0ms (Views: 0.3ms)
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 3ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 18ms (Views: 17.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 1ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 101ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"integration_test_user", "A"=>"bf69e20fa47d287c51d632336596b41526f6c0cd3e2449bd960509a29bfa2961"}
-Completed 200 OK in 7ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"fed972599dd4e5b70f6bd0bd8a57be1b5e98ee096933b03c1ddd873f4a2657c1", "id"=>"integration_test_user"}
-Completed 200 OK in 11ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 12ms (Views: 0.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"integration_test_user", "A"=>"d3e93135f8ad2360e2d589afc1882b1cea00cf4755cfc9b6afee5aafb0504f30"}
-Completed 200 OK in 7ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"157dbd5ac6385e60f0f5bab7150cce8ee92441e4596194ab177683be963eca7f", "id"=>"integration_test_user"}
-Completed 200 OK in 8ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 11ms (Views: 0.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"wronglogin", "A"=>"c285e722bc1d826a009e3d4fb5e92fd4ade4f00ba2d7b7d4946e3e1a404928b"}
-Completed 200 OK in 4ms (Views: 0.3ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by SessionsController#new as HTML
-Completed 200 OK in 41ms (Views: 40.3ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"me", "A"=>"a123"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 200 OK in 1ms (Views: 0.3ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/
-Completed 302 Found in 3ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 18ms (Views: 17.8ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Redirected to http://test.host/users/new
-Completed 302 Found in 1ms
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Oct 02 23:02:02 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-Completed 201 Created in 142ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Oct 02 23:02:03 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"ed4f1fbb97cddc6a89a2b7da9ef5361e53ad9aac5b2ea4ecd89c68c8faf5f40", "login"=>"integration_test_user"}
-Completed 200 OK in 3966ms (Views: 0.9ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Tue Oct 02 23:02:07 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"integration_test_user", "client_auth"=>"28d9daa3ba48ead895d21157f42bd7d19219c188d8a6627d720f0e2ce9b5f5bc"}
-Completed 200 OK in 24ms (Views: 0.4ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Oct 02 23:02:07 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-Completed 201 Created in 11ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Oct 02 23:02:07 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"31485189d6b8c70926be5327a7c2324e9f6d0b8fe11a4218d36609586347820b", "login"=>"integration_test_user"}
-Completed 200 OK in 458ms (Views: 0.4ms)
-
-
-Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Tue Oct 02 23:02:08 +0200 2012
-Processing by SessionsController#update as HTML
- Parameters: {"id"=>"integration_test_user", "client_auth"=>"37f23433a5a0ac70627eff14f0aee883493d84d87f739f84cd656ffd3515ab98"}
-Completed 200 OK in 10ms (Views: 0.5ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Oct 02 23:02:08 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}}
-Completed 201 Created in 11ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Oct 02 23:02:08 +0200 2012
-Processing by SessionsController#create as HTML
- Parameters: {"A"=>"7c69083c85178f5217f656fdf1261b92fa2660023538310c9f3d6a380b60be96", "login"=>"wronglogin"}
-Completed 200 OK in 5ms (Views: 0.4ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Mon Oct 08 11:31:35 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-Completed 201 Created in 70ms (Views: 0.5ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Mon Oct 08 11:31:35 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-Completed 201 Created in 10ms (Views: 0.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Mon Oct 08 11:31:35 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}}
-Completed 201 Created in 12ms (Views: 0.2ms)
-Processing by SessionsController#destroy as HTML
-Redirected to http://test.host/
-Completed 302 Found in 1ms
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 500 Internal Server Error in 1ms
-Processing by SessionsController#new as HTML
-Completed 200 OK in 68ms (Views: 67.6ms)
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"me", "A"=>"a123"}
-Completed 500 Internal Server Error in 1ms
-Processing by SessionsController#create as HTML
- Parameters: {"login"=>"login_that_does_not_exist"}
-Completed 200 OK in 0ms (Views: 0.2ms)
-Processing by SessionsController#update as HTML
- Parameters: {"client_auth"=>"a123", "id"=>"me"}
-Completed 500 Internal Server Error in 1ms
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}}
-Redirected to http://test.host/
-Completed 302 Found in 59ms
-Processing by UsersController#new as HTML
-Completed 200 OK in 19ms (Views: 18.2ms)
-Processing by UsersController#create as HTML
- Parameters: {"user"=>{"login"=>"me"}}
-Redirected to http://test.host/users/new
-Completed 302 Found in 2ms
-Processing by CertsController#show as HTML
- Rendered text template (0.0ms)
-Completed 200 OK in 5ms (Views: 5.0ms)
-Processing by CertsController#show as HTML
- Rendered text template (0.0ms)
-Completed 200 OK in 5ms (Views: 4.5ms)
diff --git a/test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583 b/test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583
deleted file mode 100644
index c71968e..0000000
--- a/test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 b/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867
deleted file mode 100644
index 050ee63..0000000
--- a/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 b/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2
deleted file mode 100644
index fc27d82..0000000
--- a/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 b/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746
deleted file mode 100644
index 050e227..0000000
--- a/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 b/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189
deleted file mode 100644
index 16938c7..0000000
--- a/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 b/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308
deleted file mode 100644
index 42a8a5c..0000000
--- a/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 b/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32
deleted file mode 100644
index f82b7bf..0000000
--- a/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 b/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
deleted file mode 100644
index 569f70f..0000000
--- a/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 b/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9
deleted file mode 100644
index 0de9f82..0000000
--- a/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 b/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1
deleted file mode 100644
index 5ce0daf..0000000
--- a/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 b/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25
deleted file mode 100644
index 80b5718..0000000
--- a/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c b/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c
deleted file mode 100644
index 5e175d6..0000000
--- a/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 b/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403
deleted file mode 100644
index d60fbd0..0000000
--- a/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df b/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df
deleted file mode 100644
index f5813dd..0000000
--- a/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c b/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c
deleted file mode 100644
index 9ebd217..0000000
--- a/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 b/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3
deleted file mode 100644
index 01bc164..0000000
--- a/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 b/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8
deleted file mode 100644
index 2f0ab90..0000000
--- a/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f b/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f
deleted file mode 100644
index 31e6b2b..0000000
--- a/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 b/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918
deleted file mode 100644
index 23a5b60..0000000
--- a/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 b/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514
deleted file mode 100644
index d28516a..0000000
--- a/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 b/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
deleted file mode 100644
index d7d3dae..0000000
--- a/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 b/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66
deleted file mode 100644
index b693770..0000000
--- a/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a b/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a
deleted file mode 100644
index 109fc57..0000000
--- a/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 b/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351
deleted file mode 100644
index 78f69fc..0000000
--- a/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 b/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7
deleted file mode 100644
index d4ac7a2..0000000
--- a/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 b/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3
deleted file mode 100644
index 61ac28e..0000000
--- a/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 b/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494
deleted file mode 100644
index e1362c7..0000000
--- a/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 b/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
deleted file mode 100644
index b592271..0000000
--- a/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 b/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75
deleted file mode 100644
index daeea37..0000000
--- a/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 b/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
deleted file mode 100644
index 37cdfc3..0000000
--- a/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe b/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe
deleted file mode 100644
index 231965e..0000000
--- a/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 b/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163
deleted file mode 100644
index d098aff..0000000
--- a/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a b/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a
deleted file mode 100644
index d756a06..0000000
--- a/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 b/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31
deleted file mode 100644
index 01da5e8..0000000
--- a/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 b/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36
deleted file mode 100644
index bb3cab2..0000000
--- a/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 b/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4
deleted file mode 100644
index a04486a..0000000
--- a/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 b/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
deleted file mode 100644
index 9e42b8f..0000000
--- a/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af b/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
deleted file mode 100644
index 70a5276..0000000
--- a/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 b/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96
deleted file mode 100644
index 2a8f986..0000000
--- a/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd b/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd
deleted file mode 100644
index b347439..0000000
--- a/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 b/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9
deleted file mode 100644
index 8a400f8..0000000
--- a/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc b/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc
deleted file mode 100644
index 3ad8a09..0000000
--- a/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc b/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc
deleted file mode 100644
index e91ec7c..0000000
--- a/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc
deleted file mode 100644
index 09e266d..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc
deleted file mode 100644
index 3c854f8..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc
deleted file mode 100644
index 4350478..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc
deleted file mode 100644
index a6ddcb8..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc
deleted file mode 100644
index cfbc623..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc
deleted file mode 100644
index a9c8917..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc
deleted file mode 100644
index b7626e0..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc
deleted file mode 100644
index df0f595..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc
deleted file mode 100644
index 744bf3c..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc
deleted file mode 100644
index 3a3478b..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc
deleted file mode 100644
index 2f26f3c..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc
deleted file mode 100644
index f8cd990..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc
deleted file mode 100644
index ebccc9b..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc
deleted file mode 100644
index d12dd58..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc
deleted file mode 100644
index 78993fc..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc
deleted file mode 100644
index ec520db..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc
deleted file mode 100644
index 7a2530e..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc
deleted file mode 100644
index 360ae80..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc
deleted file mode 100644
index 3af18e4..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc
deleted file mode 100644
index 5c40bb3..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc
deleted file mode 100644
index 1ff5ce3..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc
deleted file mode 100644
index e8e742e..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc
deleted file mode 100644
index 42e3f54..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc
deleted file mode 100644
index e13b222..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc
deleted file mode 100644
index 64fcf04..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc
deleted file mode 100644
index b263ee0..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc
deleted file mode 100644
index 1ccc7e4..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc
deleted file mode 100644
index d8602a9..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc
deleted file mode 100644
index d61f125..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc
deleted file mode 100644
index 7f6278a..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc
deleted file mode 100644
index 7b35923..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc
deleted file mode 100644
index c586137..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc
+++ /dev/null
Binary files differ
diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc
deleted file mode 100644
index 5b3fcd8..0000000
--- a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc
+++ /dev/null
Binary files differ
diff --git a/ui_dependencies.rb b/ui_dependencies.rb
new file mode 100644
index 0000000..21de1c6
--- /dev/null
+++ b/ui_dependencies.rb
@@ -0,0 +1,16 @@
+gem "haml", "~> 3.1.7"
+gem "bootstrap-sass", "~> 2.0.4"
+gem "jquery-rails"
+gem "simple_form"
+
+group :assets do
+ gem "haml-rails", "~> 0.3.4"
+ gem "sass-rails", "~> 3.2.5"
+ gem "coffee-rails", "~> 3.2.2"
+ gem "uglifier", "~> 1.2.7"
+
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
+ gem 'therubyracer', :platforms => :ruby
+
+end
+
diff --git a/users/Gemfile b/users/Gemfile
index 5e6ebd6..e30033a 100644
--- a/users/Gemfile
+++ b/users/Gemfile
@@ -1,17 +1,15 @@
source "http://rubygems.org"
+eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb'))
+eval(File.read(File.dirname(__FILE__) + '/../ui_dependencies.rb'))
+
+# We require leap_web_core from here so we can use the path option.
+gem "leap_web_core", :path => '../core'
+
# Declare your gem's dependencies in leap_web_users.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
-# jquery-rails is used by the dummy application
-gem "jquery-rails"
-
-# Declare any dependencies that are still in development here instead of in
-# your gemspec. These might include edge Rails or gems from your path or
-# Git. Remember to move these dependencies to your gemspec before releasing
-# your gem to rubygems.org.
-
# To use debugger
-gem 'ruby-debug'
+# gem 'ruby-debug'
diff --git a/users/leap_web_users.gemspec b/users/leap_web_users.gemspec
index 94c32ff..f64a76a 100644
--- a/users/leap_web_users.gemspec
+++ b/users/leap_web_users.gemspec
@@ -1,6 +1,5 @@
$:.push File.expand_path("../lib", __FILE__)
-require "leap_web_core/dependencies"
require File.expand_path('../../lib/leap_web/version.rb', __FILE__)
# Describe your gem and declare its dependencies:
@@ -16,12 +15,7 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"]
s.test_files = Dir["test/**/*"]
- s.add_dependency "rails", "~> 3.2.8"
s.add_dependency "leap_web_core", LeapWeb::VERSION
- s.add_dependency "ruby-srp", "~> 0.1.1"
-
- LeapWebCore::Dependencies.add_ui_gems_to_spec(s)
-
- s.add_development_dependency "mocha"
+ s.add_dependency "ruby-srp", "~> 0.1.1"
end
diff --git a/users/lib/leap_web_users/engine.rb b/users/lib/leap_web_users/engine.rb
index b6ab60e..9b7545e 100644
--- a/users/lib/leap_web_users/engine.rb
+++ b/users/lib/leap_web_users/engine.rb
@@ -1,8 +1,7 @@
# thou shall require all your dependencies in an engine.
-require "ruby-srp"
require "leap_web_core"
-LeapWebCore::Dependencies.require_ui_gems
-
+require "leap_web_core/ui_dependencies"
+require "ruby-srp"
module LeapWebUsers
class Engine < ::Rails::Engine
diff --git a/users/lib/leap_web_users/version.rb b/users/lib/leap_web_users/version.rb
deleted file mode 100644
index 14e54c1..0000000
--- a/users/lib/leap_web_users/version.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-module LeapWebUsers
- VERSION = "0.0.1"
-end
diff --git a/users/test/functional/sessions_controller_test.rb b/users/test/functional/sessions_controller_test.rb
index 7876d84..b6e56a7 100644
--- a/users/test/functional/sessions_controller_test.rb
+++ b/users/test/functional/sessions_controller_test.rb
@@ -8,7 +8,9 @@ class SessionsControllerTest < ActionController::TestCase
@server_hex = 'b123'
@server_rnd = @server_hex.hex
@server_rnd_exp = 'e123'.hex
+ @salt = 'stub user salt'
@server_handshake = stub :aa => @client_rnd, :bb => @server_rnd, :b => @server_rnd_exp
+ @server_auth = 'adfe'
end
test "should get login screen" do
@@ -21,11 +23,13 @@ class SessionsControllerTest < ActionController::TestCase
user.expects(:initialize_auth).
with(@client_rnd).
returns(@server_handshake)
+ @server_handshake.expects(:to_json).
+ returns({'B' => @server_hex, 'salt' => @salt}.to_json)
User.expects(:find_by_param).with(user.login).returns(user)
post :create, :login => user.login, 'A' => @client_hex
assert_equal @server_handshake, session[:handshake]
assert_response :success
- assert_json_response :B => @server_hex
+ assert_json_response :B => @server_hex, :salt => @salt
end
test "should report user not found" do
@@ -39,9 +43,11 @@ class SessionsControllerTest < ActionController::TestCase
test "should authorize" do
session[:handshake] = @server_handshake
user = stub :login => "me", :id => 123
- user.expects(:authenticate!).
- with(@client_rnd, @server_handshake).
+ @server_handshake.expects(:authenticate!).
+ with(@client_rnd).
returns(@server_auth)
+ @server_handshake.expects(:to_json).
+ returns({:M2 => @server_auth}.to_json)
User.expects(:find_by_param).with(user.login).returns(user)
post :update, :id => user.login, :client_auth => @client_hex
assert_nil session[:handshake]
@@ -52,8 +58,8 @@ class SessionsControllerTest < ActionController::TestCase
test "should report wrong password" do
session[:handshake] = @server_handshake
user = stub :login => "me", :id => 123
- user.expects(:authenticate!).
- with(@client_rnd, @server_handshake).
+ @server_handshake.expects(:authenticate!).
+ with(@client_rnd).
raises(WRONG_PASSWORD)
User.expects(:find_by_param).with(user.login).returns(user)
post :update, :id => user.login, :client_auth => @client_hex
diff --git a/users/test/integration/api/account_flow_test.rb b/users/test/integration/api/account_flow_test.rb
index e20bcf6..66de1e5 100644
--- a/users/test/integration/api/account_flow_test.rb
+++ b/users/test/integration/api/account_flow_test.rb
@@ -30,40 +30,39 @@ class AccountFlowTest < ActionDispatch::IntegrationTest
:password_verifier => @srp.verifier.to_s(16),
:password_salt => @srp.salt.to_s(16)
}
+ post '/users.json', :user => @user_params
+ @user = User.find_by_param(@login)
end
def teardown
@user.destroy if @user # make sure we can run this test again
end
- test "signup and login with srp via api" do
- post '/users.json', :user => @user_params
- @user = User.find_by_param(@login)
+ test "signup response" do
assert_json_response @user_params.slice(:login, :password_salt)
assert_response :success
- server_auth = @srp.authenticate(self, @login, @password)
+ end
+
+ test "signup and login with srp via api" do
+ server_auth = @srp.authenticate(self)
assert_nil server_auth["errors"]
assert server_auth["M2"]
end
test "signup and wrong password login attempt" do
- post '/users.json', :user => @user_params
- @user = User.find_by_param(@login)
- assert_json_response @user_params.slice(:login, :password_salt)
- assert_response :success
- server_auth = @srp.authenticate(self, @login, "wrong password")
+ srp = SRP::Client.new(@login, "wrong password")
+ server_auth = srp.authenticate(self)
assert_equal ["wrong password"], server_auth["errors"]['password']
assert_nil server_auth["M2"]
end
test "signup and wrong username login attempt" do
- post '/users.json', :user => @user_params
- @user = User.find_by_param(@login)
- assert_json_response @user_params.slice(:login, :password_salt)
- assert_response :success
+ srp = SRP::Client.new("wrong_login", @password)
+ server_auth = nil
assert_raises RECORD_NOT_FOUND do
- server_auth = @srp.authenticate(self, "wronglogin", @password)
+ server_auth = srp.authenticate(self)
end
+ assert_nil server_auth
end
end