Sha256: a7b9bdf6f22db92c0b6072fa42d87c57586fbb7cee2d6f35c6c50df1df5cdd25

Contents?: true

Size: 385 Bytes

Versions: 7

Compression:

Stored size: 385 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe Jiralicious do
  it "creates a session on load" do
    Jiralicious.session.should_not be_nil
  end

  it "creates a rest path" do
    Jiralicious.configure do |config|
      config.uri = "http://localhost:8080"
      config.api_version = "2.0"
    end
    Jiralicious.rest_path.should == 'http://localhost:8080/rest/api/2.0'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jiralicious-0.4.3 spec/jiralicious_spec.rb
jiralicious-0.4.0 spec/jiralicious_spec.rb
jiralicious-0.3.0 spec/jiralicious_spec.rb
jiralicious-0.2.2 spec/jiralicious_spec.rb
jiralicious-0.2.1 spec/jiralicious_spec.rb
jiralicious-0.2.0 spec/jiralicious_spec.rb
jiralicious-0.1.0 spec/jiralicious_spec.rb