Sha256: c7e295955c3fffcf54a044b5834895c59d78600bccc204158a460e3a80eb71cb

Contents?: true

Size: 717 Bytes

Versions: 6

Compression:

Stored size: 717 Bytes

Contents

require "spec_helper"

describe Youtrack::Client do
  let(:client) { Youtrack::Client.new }

  describe "attributes" do 

    # Mutators
    it { should respond_to(:url=) }
    it { should respond_to(:login=) }
    it { should respond_to(:password=) }
    it { should respond_to(:cookies=) }
    it { should respond_to(:connection=) }
    it { should respond_to(:admin=) }

    # Accessors
    it { should respond_to(:admin?) }
    it { should respond_to(:connected?) }
    it { should respond_to(:credentials_hash) }
    it { should respond_to(:endpoint) }
  end

  describe "resources" do
    it { should respond_to(:users) }
    it { should respond_to(:projects) }
    it { should respond_to(:issues) }
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
youtrack-0.0.8 spec/youtrack/client_spec.rb
youtrack-0.0.7 spec/youtrack/client_spec.rb
youtrack-0.0.6 spec/youtrack/client_spec.rb
youtrack-0.0.5 spec/youtrack/client_spec.rb
youtrack-0.0.4 spec/youtrack/client_spec.rb
youtrack-0.0.3 spec/youtrack/client_spec.rb