diff --git a/naver_map.gemspec b/naver_map.gemspec index 77aa2b9..5e9d8f3 100644 --- a/naver_map.gemspec +++ b/naver_map.gemspec @@ -35,6 +35,7 @@ Gem::Specification.new do |spec| spec.add_dependency "rest-client", "~> 2.0", ">= 2.0.0" spec.add_development_dependency "bundler", "~> 1.13" + spec.add_development_dependency "dotenv", "~> 2.1.1" spec.add_development_dependency "minitest", "~> 5.8", ">= 5.8.3" spec.add_development_dependency "rake", "~> 11.2", ">= 11.2.2" end diff --git a/test/naver_map_test.rb b/test/naver_map_test.rb index 9a287de..b064bde 100644 --- a/test/naver_map_test.rb +++ b/test/naver_map_test.rb @@ -4,7 +4,8 @@ class TestNaverMap < Minitest::Test def setup - @naver_map = NaverMap.new('9t01a7LRijYCbU1PEOlR', 'VY9dCKWgEa') + @naver_map = NaverMap.new(ENV['NAVER_MAP_CLIENT_ID'], + ENV['NAVER_MAP_CLIENT_SECRET']) end def test_address_to_coordinates