[katello-devel] Spec failures - help?
Jason Rist
jrist at redhat.com
Wed Jan 25 18:26:57 UTC 2012
Hi All - Getting a few spec failures and it sounds like Thomas is
getting the same ones. Can anyone explain what I'm doing wrong or are
these errors lingering from a change?
Failures:
1) Product product repos add repo when there is a repo with the same
name for the product should raise conflict error
Failure/Error: @p.add_repo(@repo_name, "http://test/repo","yum" )
NoMethodError:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.+
# ./app/models/glue/pulp/repos.rb:547:in `yum_gpg_key_url'
# ./app/models/glue/pulp/repos.rb:59:in `create_content'
# ./app/models/glue/pulp/repos.rb:356:in `add_repo'
# ./spec/models/product_spec.rb:192
2) RepositoriesController other-tests Test gpg create
Failure/Error: response.should be_success
expected success? to return true, got false
# ./spec/controllers/repositories_controller_spec.rb:98
-J
--
Jason E. Rist
Senior Software Engineer
Systems Management and Cloud Enablement
Red Hat, Inc.
+1.919.754.4048
Freenode: jrist
More information about the katello-devel
mailing list