spec/slicehost/models/compute/servers_spec.rb in fog-0.3.13 vs spec/slicehost/models/compute/servers_spec.rb in fog-0.3.14
- old
+ new
@@ -1,10 +1,14 @@
require File.dirname(__FILE__) + '/../../../spec_helper'
require File.dirname(__FILE__) + '/../../../shared_examples/servers_examples'
describe 'Fog::Slicehost::Compute::Servers' do
- it_should_behave_like "Servers"
+ if Fog.mocking?
+ it "needs to have mocks implemented"
+ else
+ it_should_behave_like "Servers"
+ end
# flavor 1 = 256, image 49 = Ubuntu 10.04 LTS (lucid)
subject { @server = @servers.new(:flavor_id => 1, :image_id => 49, :name => Time.now.to_i.to_s) }
before(:each) do