mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -06:00
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
|
||||
|
||||
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 '
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user