Sha256: ac0ef3c3373151e057e22fccf14e899302fce2dfaec6984bbaf3ba6b26da0c09

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

require 'nnmClub_api'

describe "NnmclubApi " do
  before { @tracker = NnmclubApi.new('login', 'pass') }
  subject { @tracker }

  describe "#search" do
    describe "with valid params" do
      it "returns link with term" do
        expect( @tracker.search(title: "Noize MC") ).to eq('http://nnm-club.me/forum/tracker.php?nm=Noize%20MC')
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nnmClub_api-0.0.2 spec/nnmcluv_api_spec.rb
nnmClub_api-0.0.1 spec/nnmcluv_api_spec.rb