spec/spec_helper.rb in claide-plugins-0.9.0 vs spec/spec_helper.rb in claide-plugins-0.9.1

- old
+ new

@@ -60,9 +60,22 @@ end end #-----------------------------------------------------------------------------# +# Use test specific settings inside all of the tests +# + +def default_testing_config + CLAide::Plugins::Configuration.new('CLAideTesting', + 'claidetest', + 'https://github.com/cocoapods/claide-plugins/something.json', + 'https://github.com/danger/danger-plugin-template') +end + +CLAide::Plugins.config = default_testing_config +#-----------------------------------------------------------------------------# + # SpecHelper namespace # module SpecHelper # Add this as an extension into the Search and List specs # to help stub the plugins.json request