Skip to content

Instantly share code, notes, and snippets.

@jlsherrill
Created March 13, 2014 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlsherrill/9532349 to your computer and use it in GitHub Desktop.
Save jlsherrill/9532349 to your computer and use it in GitHub Desktop.
diff --git a/test/controllers/api/v2/content_views_controller_test.rb b/test/controllers/api/v2/content_views_controller_test.rb
index 69ba5d6..6b0eb59 100644
--- a/test/controllers/api/v2/content_views_controller_test.rb
+++ b/test/controllers/api/v2/content_views_controller_test.rb
@@ -184,7 +184,7 @@ module Katello
get :available_puppet_modules, :id => @content_view.id
assert_response :success
- assert_template 'katello/api/v2/content_views/../puppet_modules/index'
+ assert_template 'katello/api/v2/content_views/puppet_modules'
end
def test_available_puppet_modules_protected
diff --git a/test/fixtures/models/katello_repositories.yml b/test/fixtures/models/katello_repositories.yml
index c4b2a5c..bdb854b 100644
--- a/test/fixtures/models/katello_repositories.yml
+++ b/test/fixtures/models/katello_repositories.yml
@@ -42,7 +42,7 @@ p_forge:
environment_id: <%= ActiveRecord::Fixtures.identify(:library) %>
product_id: <%= ActiveRecord::Fixtures.identify(:puppet_product) %>
gpg_key_id: <%= ActiveRecord::Fixtures.identify(:fedora_gpg_key) %>
- content_view_version_id: <%= ActiveRecord::Fixtures.identify(:library_view_version) %>
+ content_view_version_id: <%= ActiveRecord::Fixtures.identify(:library_view_version_1) %>
dev_p_forge:
name: P Forge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment