Skip to content

Commit

Permalink
refs #19 異常系のテストを記述
Browse files Browse the repository at this point in the history
  • Loading branch information
8398a7 committed Mar 31, 2015
1 parent 0f4e4f6 commit 73d58b7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/lib/scrape/iidxme_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@
context '異常系' do
describe '存在しないIIDXIDで処理を行う場合' do
let(:iidxid) { { iidxid: '0000-0000' } }
it '#async' do
expect(iidxme.async(user.iidxid)).to be_falsy
end
it '#process' do
expect(iidxme.send(:process, user.iidxid)).to be_falsy
end
it '#user_id_search' do
expect(iidxme.send(:user_id_search, user.iidxid)).to be_falsy
end
it '#data_get' do
expect(iidxme.send(:data_get, user.iidxid)).to be_falsy
end
end
end
end

0 comments on commit 73d58b7

Please sign in to comment.