Sha256: 915fcb38a7db8fc0d678f7b846a678053c3bfd2cf18d3b1f5912e8e0a64856b7

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 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

1 entries across 1 versions & 1 rubygems

Version Path
jiralicious-0.5.0 spec/jiralicious_spec.rb