2014-01-14 21:22:05 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
|
|
describe IcecastSecurity do
|
|
|
|
|
|
|
|
|
|
let(:iobj) { IcecastSecurity.new }
|
|
|
|
|
|
|
|
|
|
before(:all) do
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
it "save" do
|
|
|
|
|
iobj.changeowner_user ="hotdog"
|
|
|
|
|
iobj.changeowner_group ="mongrel"
|
|
|
|
|
iobj.save.should be_true
|
|
|
|
|
iobj.dumpXml
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
end
|