FIX: Our rspec suite should not require a network connection to github
This commit is contained in:
parent
51630b5187
commit
1760069419
|
@ -81,6 +81,7 @@ describe Admin::ThemesController do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'can import a theme from Git' do
|
it 'can import a theme from Git' do
|
||||||
|
RemoteTheme.stubs(:import_theme)
|
||||||
post "/admin/themes/import.json", params: {
|
post "/admin/themes/import.json", params: {
|
||||||
remote: ' https://github.com/discourse/discourse-brand-header '
|
remote: ' https://github.com/discourse/discourse-brand-header '
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue