Skip to content

Commit

Permalink
ref full module name
Browse files Browse the repository at this point in the history
  • Loading branch information
takkanm committed Aug 25, 2015
1 parent b2ddbc8 commit eec68e4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions spec/td/command/import_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ module TreasureData::Command
let(:apikey) { '1234ABCDEFGHIJKLMN' }

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

context 'unknown format' do
Expand All @@ -214,12 +214,13 @@ module TreasureData::Command
let(:td_output_config) {
{
'type' => 'td',
'endpoint' => Config.endpoint,
'apikey' => Config.apikey,
'endpoint' => TreasureData::Config.endpoint,
'apikey' => TreasureData::Config.apikey,
'database' => '',
'table' => '',
}
}

before do
command.import_config(option)
end
Expand Down

0 comments on commit eec68e4

Please sign in to comment.