Sha256: 676b9312bb88665a874ac1819132ab6f56edc870b42a423ab0b350b8800d7e76
Contents?: true
Size: 416 Bytes
Versions: 4
Compression:
Stored size: 416 Bytes
Contents
# encoding: utf-8 require "spec_helper" describe "performing a request" do before :each do FakeWeb.register_uri(:get, Jiralicious.uri + '/ok', :status => "200") end let(:session) { Jiralicious::BasicSession.new } it "sets the basic auth info beforehand" do Jiralicious::BasicSession.should_receive(:basic_auth).with("jstewart", "topsecret") session.request(:get, '/ok') end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jiralicious-0.3.0 | spec/basic_session_spec.rb |
jiralicious-0.2.2 | spec/basic_session_spec.rb |
jiralicious-0.2.1 | spec/basic_session_spec.rb |
jiralicious-0.2.0 | spec/basic_session_spec.rb |