INSTRUCTION
stringlengths
202
35.5k
RESPONSE
stringlengths
75
161k
Write RSpec test file for following ruby class ```ruby class Telegram::SendOnTelegramService < Base::SendOnChannelService private def channel_class Channel::Telegram end def perform_reply ## send reply to telegram message api # https://core.telegram.org/bots/api#sendmessage message_id = channe...
require 'rails_helper' describe Telegram::SendOnTelegramService do describe '#perform' do context 'when a valid message' do it 'calls channel.send_message_on_telegram' do telegram_request = double telegram_channel = create(:channel_telegram) message = create(:message, message_type: ...
Write RSpec test file for following ruby class ```ruby class MessageTemplates::HookExecutionService pattr_initialize [:message!] def perform return if conversation.campaign.present? return if conversation.last_incoming_message.blank? trigger_templates end private delegate :inbox, :conversation...
require 'rails_helper' describe MessageTemplates::HookExecutionService do context 'when there is no incoming message in conversation' do it 'will not call any hooks' do contact = create(:contact, email: nil) conversation = create(:conversation, contact: contact) # ensure greeting hook is enable...
Write RSpec test file for following ruby class ```ruby class MessageTemplates::Template::OutOfOffice pattr_initialize [:conversation!] def perform ActiveRecord::Base.transaction do conversation.messages.create!(out_of_office_message_params) end rescue StandardError => e ChatwootExceptionTracker...
require 'rails_helper' describe MessageTemplates::Template::OutOfOffice do context 'when this hook is called' do let(:conversation) { create(:conversation) } it 'creates the out of office messages' do described_class.new(conversation: conversation).perform expect(conversation.messages.template.c...
Write RSpec test file for following ruby class ```ruby class MessageTemplates::Template::CsatSurvey pattr_initialize [:conversation!] def perform ActiveRecord::Base.transaction do conversation.messages.create!(csat_survey_message_params) end end private delegate :contact, :account, to: :conve...
require 'rails_helper' describe MessageTemplates::Template::CsatSurvey do context 'when this hook is called' do let(:conversation) { create(:conversation) } it 'creates the out of office messages' do described_class.new(conversation: conversation).perform expect(conversation.messages.template.co...
Write RSpec test file for following ruby class ```ruby class MessageTemplates::Template::EmailCollect pattr_initialize [:conversation!] def perform ActiveRecord::Base.transaction do conversation.messages.create!(ways_to_reach_you_message_params) conversation.messages.create!(email_input_box_templat...
require 'rails_helper' describe MessageTemplates::Template::EmailCollect do context 'when this hook is called' do let(:conversation) { create(:conversation) } it 'creates the email collect messages' do described_class.new(conversation: conversation).perform expect(conversation.messages.count).to...
Write RSpec test file for following ruby class ```ruby class MessageTemplates::Template::Greeting pattr_initialize [:conversation!] def perform ActiveRecord::Base.transaction do conversation.messages.create!(greeting_message_params) end rescue StandardError => e ChatwootExceptionTracker.new(e, ...
require 'rails_helper' describe MessageTemplates::Template::Greeting do context 'when this hook is called' do let(:conversation) { create(:conversation) } it 'creates the email collect messages' do described_class.new(conversation: conversation).perform expect(conversation.messages.count).to eq(...
Write RSpec test file for following ruby class ```ruby class Instagram::ReadStatusService pattr_initialize [:params!] def perform return if instagram_channel.blank? ::Conversations::UpdateMessageStatusJob.perform_later(message.conversation.id, message.created_at) if message.present? end def instagram...
require 'rails_helper' describe Instagram::ReadStatusService do before do create(:message, message_type: :incoming, inbox: instagram_inbox, account: account, conversation: conversation, source_id: 'chatwoot-app-user-id-1') end let!(:account) { create(:account) } let!(:instagram_channe...
Write RSpec test file for following ruby class ```ruby class Instagram::SendOnInstagramService < Base::SendOnChannelService include HTTParty pattr_initialize [:message!] base_uri 'https://graph.facebook.com/v11.0/me' private delegate :additional_attributes, to: :contact def channel_class Channel::F...
require 'rails_helper' describe Instagram::SendOnInstagramService do subject(:send_reply_service) { described_class.new(message: message) } before do stub_request(:post, /graph.facebook.com/) create(:message, message_type: :incoming, inbox: instagram_inbox, account: account, conversation: conversation) ...
Write RSpec test file for following ruby class ```ruby # https://docs.360dialog.com/whatsapp-api/whatsapp-api/media # https://developers.facebook.com/docs/whatsapp/api/media/ class Whatsapp::IncomingMessageService < Whatsapp::IncomingMessageBaseService end ```
require 'rails_helper' describe Whatsapp::IncomingMessageService do describe '#perform' do before do stub_request(:post, 'https://waba.360dialog.io/v1/configs/webhook') end let!(:whatsapp_channel) { create(:channel_whatsapp, sync_templates: false) } let(:wa_id) { '2423423243' } let!(:param...
Write RSpec test file for following ruby class ```ruby class Whatsapp::SendOnWhatsappService < Base::SendOnChannelService private def channel_class Channel::Whatsapp end def perform_reply should_send_template_message = template_params.present? || !message.conversation.can_reply? if should_send_tem...
require 'rails_helper' describe Whatsapp::SendOnWhatsappService do template_params = { name: 'sample_shipping_confirmation', namespace: '23423423_2342423_324234234_2343224', language: 'en_US', category: 'Marketing', processed_params: { '1' => '3' } } describe '#perform' do before do ...
Write RSpec test file for following ruby class ```ruby # https://docs.360dialog.com/whatsapp-api/whatsapp-api/media # https://developers.facebook.com/docs/whatsapp/api/media/ class Whatsapp::IncomingMessageWhatsappCloudService < Whatsapp::IncomingMessageBaseService private def processed_params @processed_para...
require 'rails_helper' describe Whatsapp::IncomingMessageWhatsappCloudService do describe '#perform' do let!(:whatsapp_channel) { create(:channel_whatsapp, provider: 'whatsapp_cloud', sync_templates: false, validate_provider_config: false) } let(:params) do { phone_number: whatsapp_channel.phon...
Write RSpec test file for following ruby class ```ruby class Whatsapp::Providers::WhatsappCloudService < Whatsapp::Providers::BaseService def send_message(phone_number, message) if message.attachments.present? send_attachment_message(phone_number, message) elsif message.content_type == 'input_select' ...
require 'rails_helper' describe Whatsapp::Providers::WhatsappCloudService do subject(:service) { described_class.new(whatsapp_channel: whatsapp_channel) } let(:conversation) { create(:conversation, inbox: whatsapp_channel.inbox) } let(:whatsapp_channel) { create(:channel_whatsapp, provider: 'whatsapp_cloud', va...
Write RSpec test file for following ruby class ```ruby class Twilio::DeliveryStatusService pattr_initialize [:params!] # Reference: https://www.twilio.com/docs/messaging/api/message-resource#message-status-values def perform return if twilio_channel.blank? return unless supported_status? process_st...
require 'rails_helper' describe Twilio::DeliveryStatusService do let!(:account) { create(:account) } let!(:twilio_channel) do create(:channel_twilio_sms, account: account, account_sid: 'ACxxx', inbox: create(:inbox, account: account, greeting_enabled: false)) end let!(:conta...
Write RSpec test file for following ruby class ```ruby class Twilio::IncomingMessageService include ::FileTypeHelper pattr_initialize [:params!] def perform return if twilio_channel.blank? set_contact set_conversation @message = @conversation.messages.create!( content: message_body, ...
require 'rails_helper' describe Twilio::IncomingMessageService do let!(:account) { create(:account) } let!(:twilio_channel) do create(:channel_twilio_sms, account: account, account_sid: 'ACxxx', inbox: create(:inbox, account: account, greeting_enabled: false)) end let!(:cont...
Write RSpec test file for following ruby class ```ruby class Twilio::WebhookSetupService include Rails.application.routes.url_helpers pattr_initialize [:inbox!] def perform if channel.messaging_service_sid? update_messaging_service else update_phone_number end end private def upd...
require 'rails_helper' describe Twilio::WebhookSetupService do include Rails.application.routes.url_helpers let(:twilio_client) { instance_double(Twilio::REST::Client) } before do allow(Twilio::REST::Client).to receive(:new).and_return(twilio_client) end describe '#perform' do context 'with a mess...
Write RSpec test file for following ruby class ```ruby class Twilio::SendOnTwilioService < Base::SendOnChannelService private def channel_class Channel::TwilioSms end def perform_reply begin twilio_message = channel.send_message(**message_params) rescue Twilio::REST::TwilioError, Twilio::RES...
require 'rails_helper' describe Twilio::SendOnTwilioService do subject(:outgoing_message_service) { described_class.new(message: message) } let(:twilio_client) { instance_double(Twilio::REST::Client) } let(:messages_double) { double } let(:message_record_double) { double } let!(:account) { create(:account)...
Write RSpec test file for following ruby class ```ruby class Twilio::OneoffSmsCampaignService pattr_initialize [:campaign!] def perform raise "Invalid campaign #{campaign.id}" if campaign.inbox.inbox_type != 'Twilio SMS' || !campaign.one_off? raise 'Completed Campaign' if campaign.completed? # marks c...
require 'rails_helper' describe Twilio::OneoffSmsCampaignService do subject(:sms_campaign_service) { described_class.new(campaign: campaign) } let(:account) { create(:account) } let!(:twilio_sms) { create(:channel_twilio_sms) } let!(:twilio_inbox) { create(:inbox, channel: twilio_sms) } let(:label1) { creat...
Write RSpec test file for following ruby class ```ruby class PageCrawlerService attr_reader :external_link def initialize(external_link) @external_link = external_link @doc = Nokogiri::HTML(HTTParty.get(external_link).body) end def page_links sitemap? ? extract_links_from_sitemap : extract_links_f...
require 'rails_helper' describe PageCrawlerService do let(:html_link) { 'http://test.com' } let(:sitemap_link) { 'http://test.com/sitemap.xml' } let(:service_html) { described_class.new(html_link) } let(:service_sitemap) { described_class.new(sitemap_link) } let(:html_body) do <<-HTML <html> ...
Write RSpec test file for following ruby class ```ruby class Enterprise::MessageTemplates::ResponseBotService pattr_initialize [:conversation!] def perform ActiveRecord::Base.transaction do @response = get_response(conversation.messages.incoming.last.content) process_response end rescue Stand...
require 'rails_helper' RSpec.describe Enterprise::MessageTemplates::ResponseBotService, type: :service do let!(:conversation) { create(:conversation, status: :pending) } let(:service) { described_class.new(conversation: conversation) } let(:chat_gpt_double) { instance_double(ChatGpt) } let(:response_source) { ...
Write RSpec test file for following ruby class ```ruby class Enterprise::Billing::CreateSessionService def create_session(customer_id, return_url = ENV.fetch('FRONTEND_URL')) Stripe::BillingPortal::Session.create( { customer: customer_id, return_url: return_url } ) end end ```
require 'rails_helper' describe Enterprise::Billing::CreateSessionService do subject(:create_session_service) { described_class } describe '#perform' do it 'calls stripe billing portal session' do customer_id = 'cus_random_number' return_url = 'https://www.chatwoot.com' allow(Stripe::Billing...
Write RSpec test file for following ruby class ```ruby class Enterprise::Billing::CreateStripeCustomerService pattr_initialize [:account!] DEFAULT_QUANTITY = 2 def perform customer_id = prepare_customer_id subscription = Stripe::Subscription.create( { customer: customer_id, items: ...
require 'rails_helper' describe Enterprise::Billing::CreateStripeCustomerService do subject(:create_stripe_customer_service) { described_class } let(:account) { create(:account) } let!(:admin1) { create(:user, account: account, role: :administrator) } let(:admin2) { create(:user, account: account, role: :admi...
Write RSpec test file for following ruby class ```ruby class Enterprise::Billing::HandleStripeEventService def perform(event:) ensure_event_context(event) case @event.type when 'customer.subscription.updated' process_subscription_updated when 'customer.subscription.deleted' process_subscri...
require 'rails_helper' describe Enterprise::Billing::HandleStripeEventService do subject(:stripe_event_service) { described_class } let(:event) { double } let(:data) { double } let(:subscription) { double } let!(:account) { create(:account, custom_attributes: { stripe_customer_id: 'cus_123' }) } before d...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby class SetLocalizationService attr_reader :user, :http_accept_header include Redmine::I18n def initialize(user, http_accept_header = nil) @user = user @http_accept_header = http_accept_header end ## # Sets the locale. # The locale is determi...
require 'spec_helper' RSpec.describe SetLocalizationService do let(:user) { build_stubbed(:user, language: user_language) } let(:http_accept_header) { "#{http_accept_language},en-US;q=0.8,en;q=0.6" } let(:instance) { described_class.new(user, http_accept_header) } let(:user_language) { :bogus_language } let(...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby # frozen_string_literal: true # -- copyright # OpenProject is an open source project management software. # Copyright (C) 2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Pub...
# frozen_string_literal: true # -- copyright # OpenProject is an open source project management software. # Copyright (C) 2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of Chi...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2022 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
# OpenProject is an open source project management software. # Copyright (C) 2010-2022 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork of Redmin...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
# OpenProject is an open source project management software. # Copyright (C) 2010-2022 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork of Redmin...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby # OpenProject is an open source project management software. # Copyright (C) 2022 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is...
# OpenProject is an open source project management software. # Copyright (C) 2010-2022 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork of Redmin...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby # frozen_string_literal: true #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
# OpenProject is an open source project management software. # Copyright (C) 2010-2022 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork of Redmin...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby # frozen_string_literal: true #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General...
# frozen_string_literal: true #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # ...
#-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork ...
Write RSpec test file for following ruby class ```ruby # -- copyright # OpenProject is an open source project management software. # Copyright (C) 2010-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # #...
# -- copyright # OpenProject is an open source project management software. # Copyright (C) 2010-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork...
Write RSpec test file for following ruby class ```ruby # -- copyright # OpenProject is an open source project management software. # Copyright (C) 2010-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # #...
# frozen_string_literal: true # -- copyright # OpenProject is an open source project management software. # Copyright (C) 2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of Chi...
Write RSpec test file for following ruby class ```ruby # -- copyright # OpenProject is an open source project management software. # Copyright (C) 2010-2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # #...
# frozen_string_literal: true # -- copyright # OpenProject is an open source project management software. # Copyright (C) 2023 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of Chi...