File: project_factory_spec.rb

package info (click to toggle)
ruby-jira 2.1.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 968 kB
  • sloc: ruby: 5,125; makefile: 12
file content (11 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
require 'spec_helper'

describe JIRA::Resource::ProjectFactory do
  let(:client)  { double }
  subject       { JIRA::Resource::ProjectFactory.new(client) }

  it 'initializes correctly' do
    expect(subject.class).to eq(JIRA::Resource::ProjectFactory)
    expect(subject.client).to eq(client)
  end
end