Clarify tests. Write autostart docs. Refs #65, #53

This commit is contained in:
Pavel Chipiga 2011-12-23 20:47:13 +02:00
parent 8c3291d237
commit 0e5b39985e
2 changed files with 18 additions and 6 deletions

View File

@ -1,8 +1,20 @@
=== Basic bootstrap
* rake db:drop db:setup
==
=== Setup autostart
Add to /etc/rc.d/rc.local following /srv/rosa_build/current/bin/autostart.sh
==
Add to /etc/rc.d/rc.local
/srv/rosa_build/current/bin/autostart.sh
Add to /etc/rc.d/rc.sysinit
# force run rc.local
if [ -f /etc/rc.local ]; then
. /etc/rc.local
fi
==

View File

@ -123,7 +123,7 @@ describe BuildListsController do
it_should_behave_like 'create build list'
end
context 'if user is project member' do
context 'if user is project read member' do
before(:each) {set_session_for(@member_user)}
it_should_behave_like 'show build list'
it_should_behave_like 'not create build list'
@ -145,7 +145,7 @@ describe BuildListsController do
it_should_behave_like 'create build list'
end
context 'if user is project member' do
context 'if user is project read member' do
before(:each) {set_session_for(@member_user)}
it_should_behave_like 'show build list'
it_should_behave_like 'not create build list'
@ -209,7 +209,7 @@ describe BuildListsController do
it_should_behave_like 'create build list'
end
context 'if user is group member' do
context 'if user is group read member' do
before(:each) {set_session_for(@member_user)}
it_should_behave_like 'show build list'
it_should_behave_like 'not create build list'
@ -231,7 +231,7 @@ describe BuildListsController do
it_should_behave_like 'create build list'
end
context 'if user is group member' do
context 'if user is group read member' do
before(:each) {set_session_for(@member_user)}
it_should_behave_like 'show build list'
it_should_behave_like 'not create build list'