1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[terremark|ecloud] Fix network model feature list

This commit is contained in:
Dan Peterson 2010-12-17 17:05:52 -08:00 committed by geemus
parent afc515853e
commit 3a072cbb4d

View file

@ -39,9 +39,9 @@ if Fog.mocking?
it { should have(1).features }
describe :features do
let(:feature) { subject.features[0] }
specify { feature.should be_an_instance_of Hash }
specify { feature[:FenceMode].should == @mock_network.features[0][:value] }
let(:feature) { subject.features.first }
specify { feature.should be_an_instance_of Array }
specify { feature.last.should == @mock_network.features[0][:value] }
end
it { should have(2).links }