I am still unable to get the spec suite working after applying this patch. Running 'rake spec' results in the same error:
Validation failed: Login Credentials are Invalid for this Provider /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/validations.rb:1090:in `save_without_dirty!' ..... ./spec/controllers/cloud_accounts_controller_spec.rb:7: I am running both the latest core checkout (86787cac8a1665871d2064e9405466d8867dc3a9) and aggregator (f7fd446b2895f4d5820f66aacbe3e31d41240d5e) with your patch applied ontop of it. Does something need to be setup on the core api side to accept the credentials we are trying to use in the test suite? On 05/18/2010 04:51 AM, [email protected] wrote: > From: martyntaylor<[email protected]> > > --- > src/app/models/cloud_account.rb | 19 > ++++++++++++++++++- > src/features/step_definitions/pool_steps.rb | 2 +- > .../controllers/cloud_accounts_controller_spec.rb | 9 +++++++-- > src/spec/factories/cloud_account.rb | 4 ++-- > src/spec/models/cloud_account_spec.rb | 16 ++++++++++++++++ > src/spec/models/instance_spec.rb | 12 +++++++----- > 6 files changed, 51 insertions(+), 11 deletions(-) > > diff --git a/src/app/models/cloud_account.rb b/src/app/models/cloud_account.rb > index 9b8458d..aaf980e 100644 > --- a/src/app/models/cloud_account.rb > +++ b/src/app/models/cloud_account.rb > @@ -1,4 +1,4 @@ > -# > + # > > Another change here I can't decipher. Its not a big deal this time since app/models/cloud_account needs to be modified anyways, but I had to run dos2unix on your patch before it would apply via git am, which is implying this patch contains CRLFs which shouldn't go into the repo. What editor are you using to edit these files, perhaps your IDE is running in windows txt file compatability mode or something similar? -Mo _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
