Sha256: 6282768e801073fc2858aee546d4a6968bc30f524be0cc73238b944108791ed0
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
require "nnmClub_api" describe "NnmClub" do describe "NmmClub_api" do before { @api = NnmClub::NnmClub_api.new @query = "ruby on rails" @id = "97600" } it "should not be bad login" do expect(@api.nil?).to eq(false) end it "should return results Array" do expect(@api.search(@query).class).to eq([].class) end it "should return results Array" do expect(@api.find(@id).class).to eq({}.class) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nnmClub_api-0.1.4 | spec/nnmclub_spec.rb |
nnmClub_api-0.1.3 | spec/nnmclub_spec.rb |