spec/basic_session_spec.rb in jiralicious-0.1.0 vs spec/basic_session_spec.rb in jiralicious-0.2.0
- old
+ new
@@ -1,12 +1,12 @@
# encoding: utf-8
require "spec_helper"
describe "performing a request" do
- before :each do
- FakeWeb.register_uri(:get,
- Jiralicious.uri + '/ok',
- :status => "200")
+ 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