Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

399 B
Raw Blame
require "spec_helper"

RSpec.describe Bim::IfcModels::IfcConversionJob, type: :job do
  let(:model) { build(:ifc_model) }

  subject { described_class.perform_now(model) }

  it "calls the conversion service" do
    expect(Bim::IfcModels::ViewConverterService)
      .to receive_message_chain(:new, :call)
      .and_return ServiceResult.success

    expect { subject }.not_to raise_error
  end
end