Añade plugin Redmine Git Hosting 4.0.2
This commit is contained in:
parent
472cb1ea76
commit
bdd66d941f
494 changed files with 36768 additions and 0 deletions
15
plugins/redmine_git_hosting/spec/models/setting_spec.rb
Normal file
15
plugins/redmine_git_hosting/spec/models/setting_spec.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
||||
|
||||
describe Setting do
|
||||
before do
|
||||
RedmineGitHosting::Config.reload_from_file!
|
||||
@settings = Setting.plugin_redmine_git_hosting
|
||||
@default_settings = Redmine::Plugin.find('redmine_git_hosting').settings[:default]
|
||||
end
|
||||
|
||||
subject { @settings }
|
||||
|
||||
it { should be_an_instance_of(Hash) }
|
||||
|
||||
# it { expect(@settings).to eq @default_settings }
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue