spec/provider/pypi_spec.rb in dpl-1.8.12.travis.1282.4 vs spec/provider/pypi_spec.rb in dpl-1.8.12.travis.1283.4

- old
+ new

@@ -30,20 +30,20 @@ describe "#push_app" do example do expect(provider.context).to receive(:shell).with("python setup.py sdist") expect(provider.context).to receive(:shell).with("twine upload -r pypi dist/*") expect(provider.context).to receive(:shell).with("rm -rf dist/*") - expect(provider.context).to receive(:shell).with("python setup.py upload_docs -r pypi") + expect(provider.context).to receive(:shell).with("python setup.py upload_docs -r https://pypi.python.org/pypi") provider.push_app end example "with :distributions option" do provider.options.update(:distributions => 'sdist bdist') expect(provider.context).to receive(:shell).with("python setup.py sdist bdist") expect(provider.context).to receive(:shell).with("twine upload -r pypi dist/*") expect(provider.context).to receive(:shell).with("rm -rf dist/*") - expect(provider.context).to receive(:shell).with("python setup.py upload_docs -r pypi") + expect(provider.context).to receive(:shell).with("python setup.py upload_docs -r https://pypi.python.org/pypi") provider.push_app end example "with :server option" do provider.options.update(:server => 'http://blah.com') @@ -57,10 +57,10 @@ example "with :docs_dir option" do provider.options.update(:docs_dir => 'some/dir') expect(provider.context).to receive(:shell).with("python setup.py sdist") expect(provider.context).to receive(:shell).with("twine upload -r pypi dist/*") expect(provider.context).to receive(:shell).with("rm -rf dist/*") - expect(provider.context).to receive(:shell).with("python setup.py upload_docs --upload-dir some/dir -r pypi") + expect(provider.context).to receive(:shell).with("python setup.py upload_docs --upload-dir some/dir -r https://pypi.python.org/pypi") provider.push_app end end describe "#write_servers" do