Añade el plugin Redmine Git Hosting 5.0.0
This commit is contained in:
parent
cfa0d58b18
commit
a3bddad233
458 changed files with 30396 additions and 1 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