cleaned up the test

This commit is contained in:
alop
2013-05-13 13:14:21 -07:00
parent cbd01f5e0f
commit 25f04bdd4d

View File

@@ -101,19 +101,7 @@ describe "cinder::api" do
expect(@chef_run).to execute_command cmd
end
describe "policy.json" do
before do
@file = @chef_run.template "/etc/cinder/policy.json"
end
it "has proper owner" do
expect(@file).to be_owned_by "cinder", "cinder"
end
it "has proper modes" do
expect(sprintf("%o", @file.mode)).to eq "644"
end
end
expect_creates_policy_json "service[cinder-api]"
describe "api-paste.ini" do
before do