spec/cfoundry/v2/client_spec.rb in cfoundry-4.0.0 vs spec/cfoundry/v2/client_spec.rb in cfoundry-4.0.1
- old
+ new
@@ -12,10 +12,10 @@
subject { client.register(email, password) }
it "creates the user in uaa and ccng" do
client.base.stub(:uaa) { uaa }
- uaa.stub(:add_user).with(email, password) { {"id" => "1234"} }
+ uaa.stub(:add_user).with(email, password) { {:id => "1234"} }
user = build(:user)
client.stub(:user) { user }
user.stub(:create!)
subject