Skip to content

Commit

Permalink
stug out conifg
Browse files Browse the repository at this point in the history
  • Loading branch information
takkanm committed Aug 25, 2015
1 parent 49ad2eb commit 362c4a7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/td/command/import_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@ module TreasureData::Command
let :out_file do
Tempfile.new("seed.yml").tap {|s| s.close }
end
let(:endpoint) { 'http://example.com' }
let(:apikey) { '1234ABCDEFGHIJKLMN' }

before do
Config.stub(:endpoint).and_return(endpoint)
Config.stub(:apikey).and_return(apikey)
end

context 'unknown format' do
let(:args) { ['url'] }
Expand Down

0 comments on commit 362c4a7

Please sign in to comment.