spec/profitbricks/data_center_spec.rb in profitbricks-0.4.1 vs spec/profitbricks/data_center_spec.rb in profitbricks-0.5.0
- old
+ new
@@ -4,10 +4,10 @@
include Savon::Spec::Macros
it "should create a new datacenter" do
savon.expects(:create_data_center).returns(:success)
savon.expects(:get_data_center).returns(:create)
- dc = DataCenter.create('Test2')
+ dc = DataCenter.create(:name => 'Test2')
dc.name.should == 'Test2'
dc.id.should == "b3eebede-5c78-417c-b1bc-ff5de01a0602"
dc.version.should == 9
end
\ No newline at end of file