FIX: Our rspec suite should not require a network connection to github

This commit is contained in:
Robin Ward 2019-04-12 12:01:16 -04:00
parent 51630b5187
commit 1760069419

View File

@ -81,6 +81,7 @@ describe Admin::ThemesController do
end
it 'can import a theme from Git' do
RemoteTheme.stubs(:import_theme)
post "/admin/themes/import.json", params: {
remote: ' https://github.com/discourse/discourse-brand-header '
}