Sha256: ced7792adff8f56de053b04c7bd3b9435416cbe69727e828b6f6e228a248d947

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

# encoding: utf-8
require File.expand_path(File.dirname(__FILE__) + '/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.0.6 spec/jiralicious_spec.rb