trancentral ~/projects/personal/integrity > git remote -v
origin git://github.com/foca/integrity.git
trancentral ~/projects/personal/integrity > git status
# On branch master
nothing to commit (working directory clean)
trancentral ~/projects/personal/integrity > rake spec
(in /Users/bbleything/projects/personal/integrity)
...............*..........................................................................................................................................................FF...............FF....FFF..................FFFFFFF.FFFF..F.FFFFFFF.......................F.................................
Pending:
Web App GET /login should store the username on the session (how do I test the session?!)
Called from ./spec/app_spec.rb:127
1)
Errno::ENOENT in 'Integrity Logging should understand info'
No such file or directory - /Users/bbleything/projects/personal/integrity/log/test.log
./spec/scm/../../lib/integrity.rb:59:in `new'
./spec/scm/../../lib/integrity.rb:59:in `logger'
./spec/integrity_spec.rb:64:
2)
Errno::ENOENT in 'Integrity Logging should format the log messages nicely'
No such file or directory - /Users/bbleything/projects/personal/integrity/log/test.log
./spec/scm/../../lib/integrity.rb:59:in `new'
./spec/scm/../../lib/integrity.rb:59:in `logger'
./spec/scm/../../lib/integrity.rb:55:in `log'
./spec/integrity_spec.rb:69:
3)
NameError in 'Integrity::Notifier configuring a notifier should not be valid by default'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/notifier_spec.rb:12:in `sample_notifier'
./spec/notifier_spec.rb:25:
4)
NameError in 'Integrity::Notifier configuring a notifier should be valid if passed a name, a project and a config hash'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/notifier_spec.rb:12:in `sample_notifier'
./spec/notifier_spec.rb:29:
5)
NameError in 'Integrity::Notifier setting up a list of notifiers for a project should destroy all of the previous notifiers for that project'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
./spec/notifier_spec.rb:65:
6)
NameError in 'Integrity::Notifier setting up a list of notifiers for a project should not destroy all of the other notifiers that exist for other projects'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
./spec/notifier_spec.rb:71:
7)
NameError in 'Integrity::Notifier Notifying the world of a build should delegate to the notifier class'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/notifier_spec.rb:12:in `sample_notifier'
./spec/notifier_spec.rb:78:
8)
NameError in 'Integrity::Project When building it should not build if it's already building'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
./spec/../lib/integrity/project.rb:79:in `send_notifications'
./spec/../lib/integrity/project.rb:30:in `build'
./spec/project_spec.rb:128:
9)
NameError in 'Integrity::Project When building it should instantiate a new Builder and pass itself to it'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
./spec/../lib/integrity/project.rb:79:in `send_notifications'
./spec/../lib/integrity/project.rb:30:in `build'
./spec/project_spec.rb:133:
10)
NameError in 'Integrity::Project When building it should tell the builder to build the head if no commit id is passed'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
./spec/../lib/integrity/project.rb:79:in `send_notifications'
./spec/../lib/integrity/project.rb:30:in `build'
./spec/project_spec.rb:138:
11)
NameError in 'Integrity::Project When building it should tell the builder to build a specific commit if an id is passed'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
./spec/../lib/integrity/project.rb:79:in `send_notifications'
./spec/../lib/integrity/project.rb:30:in `build'
./spec/project_spec.rb:143:
12)
NameError in 'Integrity::Project When building it should set 'building?' to true while building'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
./spec/../lib/integrity/project.rb:79:in `send_notifications'
./spec/../lib/integrity/project.rb:30:in `build'
./spec/project_spec.rb:150:
13)
NameError in 'Integrity::Project When building it should set 'building?' to false after a build'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
./spec/../lib/integrity/project.rb:79:in `send_notifications'
./spec/../lib/integrity/project.rb:30:in `build'
./spec/project_spec.rb:154:
14)
'Integrity::Project When building it should ensure 'building?' is false even if the build raises an exception' FAILED
expected RuntimeError, got #<NameError: uninitialized constant LazyArray::RETURN_SELF>
./spec/project_spec.rb:159:
15)
NameError in 'Integrity::Project When searching for its builds should find the last build by ordering chronologically'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:176:
./spec/project_spec.rb:175:in `times'
./spec/project_spec.rb:175:
16)
NameError in 'Integrity::Project When searching for its builds should have 4 previous builds'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:176:
./spec/project_spec.rb:175:in `times'
./spec/project_spec.rb:175:
17)
NameError in 'Integrity::Project When searching for its builds should return an empty array if it has only one build'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:176:
./spec/project_spec.rb:175:in `times'
./spec/project_spec.rb:175:
18)
NameError in 'Integrity::Project When searching for its builds should return an empty array if there are no builds'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:176:
./spec/project_spec.rb:175:in `times'
./spec/project_spec.rb:175:
19)
NameError in 'Integrity::Project Getting destroyed should delete all the project builds'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
./spec/project_spec.rb:226:
20)
NameError in 'Integrity::Project Getting the config for a Notifier should return the correct configuration if the notifier was registered for the project'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:239:
21)
NameError in 'Integrity::Project Getting the config for a Notifier should return an empty hash if the notifier was not registered for the project'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:239:
22)
NameError in 'Integrity::Project Sending notifications should iterate over the list of notifiers'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:259:
23)
NameError in 'Integrity::Project Sending notifications should call #notify_of_build on each notifier'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:259:
24)
NameError in 'Integrity::Project Sending notifications should protect itself from eventual timeout error'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:259:
25)
NameError in 'Integrity::Project Sending notifications should log timeout'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:259:
26)
NameError in 'Integrity::Project Sending notifications should log notifications it sends'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:172:in `create'
./spec/project_spec.rb:259:
27)
Errno::ENOENT in 'Integrity::SCM::Git #log should delegate to Integrity#log with 'Git' as progname'
No such file or directory - /Users/bbleything/projects/personal/integrity/log/test.log
./spec/scm/../../lib/integrity.rb:59:in `new'
./spec/scm/../../lib/integrity.rb:59:in `logger'
./spec/scm/git_spec.rb:27:
Finished in 3.336703 seconds
294 examples, 27 failures, 1 pending
rake aborted!
Command /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I"lib" "/Users/bbleything/projects/personal/integrity/vendor/rspec-1.1.8/bin/spec" "spec/app_spec.rb" "spec/build_spec.rb" "spec/builder_spec.rb" "spec/core_ext/object_spec.rb" "spec/core_ext/string_spec.rb" "spec/core_ext/time_spec.rb" "spec/integrity_spec.rb" "spec/notifier/base_spec.rb" "spec/notifier_spec.rb" "spec/project_spec.rb" "spec/scm/git/uri_spec.rb" "spec/scm/git_spec.rb" "spec/scm_spec.rb" --color --format progress failed
(See full trace by running task with --trace)
trancentral ~/projects/personal/integrity >