Sha256: 3f806ff4034afdacacac90f29d371f3342c564a13595166b6d6f4a0d212f8938
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jiralicious-0.1.0 | spec/basic_session_spec.rb |