Skip to content

Commit

Permalink
Merge pull request #9494 from dmarcoux/fix_error_rake_dev_task
Browse files Browse the repository at this point in the history
Use correct fixture file for test_package
  • Loading branch information
eduardoj committed May 6, 2020
2 parents 33f60b0 + 10982dd commit 6ef49bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/api/lib/tasks/dev.rake
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,9 @@ namespace :dev do
source_package: ruby_iggy
)

test_package = create(:package, name: 'ctris', project: home_admin)
test_package = create(:package, name: 'hello_world', project: home_admin)
backend_url = "/source/#{CGI.escape(home_admin.name)}/#{CGI.escape(test_package.name)}"
Backend::Connection.put("#{backend_url}/ctris.spec", File.read('../../dist/t/spec/fixtures/ctris.spec'))
Backend::Connection.put("#{backend_url}/ctris-0.42.tar.bz2", File.read('../../dist/t/spec/fixtures/ctris-0.42.tar.bz2'))
Backend::Connection.put("#{backend_url}/hello_world.spec", File.read('../../dist/t/spec/fixtures/hello_world.spec'))

leap = create(:project, name: 'openSUSE:Leap:15.0')
leap_apache = create(:package_with_file, name: 'apache2', project: leap)
Expand Down

0 comments on commit 6ef49bc

Please sign in to comment.