1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-08 21:17:43 +03:00

Fix Ruby tests for User changes

This commit is contained in:
Daniel Molina 2010-10-16 15:36:46 +02:00 committed by Ruben S. Montero
parent 85108d4e9d
commit f8903ad813
2 changed files with 5 additions and 5 deletions

View File

@ -24,11 +24,11 @@ module OpenNebula
if user.id == 0
user.name.should eql('oneadmin')
user['PASSWORD'].should eql('f13a1234833436f71ab846572d251c0d40391e72')
user['ENABLED'].should eql('True')
user['ENABLED'].should eql('1')
elsif user.id == 1
user.name.should eql('dan')
user['PASSWORD'].should eql('d22a12348334v33f71ba846572d25250d40701e72')
user['ENABLED'].should eql('False')
user['ENABLED'].should eql('0')
end
}
end
@ -53,11 +53,11 @@ module OpenNebula
if user.id == 0
user.name.should eql('oneadmin')
user['PASSWORD'].should eql('f13a1234833436f71ab846572d251c0d40391e72')
user['ENABLED'].should eql('True')
user['ENABLED'].should eql('1')
elsif user.id == 1
user.name.should eql('dan')
user['PASSWORD'].should eql('d22a12348334v33f71ba846572d25250d40701e72')
user['ENABLED'].should eql('False')
user['ENABLED'].should eql('0')
end
}
end

View File

@ -3,7 +3,7 @@
<ID>0</ID>
<NAME>oneadmin</NAME>
<PASSWORD>f13a1234833436f71ab846572d251c0d40391e72</PASSWORD>
<ENABLED>0</ENABLED>
<ENABLED>1</ENABLED>
</USER>
<USER>
<ID>1</ID>