Improved rspec folder structure for better scalability in the future.
This commit is contained in:
parent
55f17a226b
commit
dde92a85df
109 changed files with 87 additions and 92 deletions
|
@ -1,4 +1,4 @@
|
||||||
require 'import/import_factory_examples'
|
require 'lib/import/import_factory_examples'
|
||||||
|
|
||||||
RSpec.shared_examples 'Import::BaseFactory' do
|
RSpec.shared_examples 'Import::BaseFactory' do
|
||||||
it_behaves_like 'Import factory'
|
it_behaves_like 'Import factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Factory do
|
RSpec.describe Import::Factory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,4 +1,4 @@
|
||||||
require 'import/base_factory_examples'
|
require 'lib/import/base_factory_examples'
|
||||||
|
|
||||||
RSpec.shared_examples 'Import::Factory' do
|
RSpec.shared_examples 'Import::Factory' do
|
||||||
it_behaves_like 'Import::BaseFactory'
|
it_behaves_like 'Import::BaseFactory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Factory do
|
RSpec.describe Import::Factory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/helper_examples'
|
require 'lib/import/helper_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Helper do
|
RSpec.describe Import::Helper do
|
||||||
it_behaves_like 'Import::Helper'
|
it_behaves_like 'Import::Helper'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/import_factory_examples'
|
require 'lib/import/import_factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::Article::AttachmentFactory do
|
RSpec.describe Import::OTRS::Article::AttachmentFactory do
|
||||||
it_behaves_like 'Import factory'
|
it_behaves_like 'Import factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::ArticleCustomerFactory do
|
RSpec.describe Import::OTRS::ArticleCustomerFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::ArticleFactory do
|
RSpec.describe Import::OTRS::ArticleFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::CustomerFactory do
|
RSpec.describe Import::OTRS::CustomerFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::CustomerUserFactory do
|
RSpec.describe Import::OTRS::CustomerUserFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/dynamic_field_examples'
|
require 'lib/import/otrs/dynamic_field_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::DynamicField::Checkbox do
|
RSpec.describe Import::OTRS::DynamicField::Checkbox do
|
||||||
it_behaves_like 'Import::OTRS::DynamicField'
|
it_behaves_like 'Import::OTRS::DynamicField'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/dynamic_field_examples'
|
require 'lib/import/otrs/dynamic_field_examples'
|
||||||
|
|
||||||
# this require is required (hehe) because of Rails autoloading
|
# this require is required (hehe) because of Rails autoloading
|
||||||
# which causes this error:
|
# which causes this error:
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/dynamic_field_examples'
|
require 'lib/import/otrs/dynamic_field_examples'
|
||||||
|
|
||||||
# this require is required (hehe) because of Rails autoloading
|
# this require is required (hehe) because of Rails autoloading
|
||||||
# which causes this error:
|
# which causes this error:
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/dynamic_field_examples'
|
require 'lib/import/otrs/dynamic_field_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::DynamicField::Dropdown do
|
RSpec.describe Import::OTRS::DynamicField::Dropdown do
|
||||||
it_behaves_like 'Import::OTRS::DynamicField'
|
it_behaves_like 'Import::OTRS::DynamicField'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/dynamic_field_examples'
|
require 'lib/import/otrs/dynamic_field_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::DynamicField::Multiselect do
|
RSpec.describe Import::OTRS::DynamicField::Multiselect do
|
||||||
it_behaves_like 'Import::OTRS::DynamicField'
|
it_behaves_like 'Import::OTRS::DynamicField'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/dynamic_field_examples'
|
require 'lib/import/otrs/dynamic_field_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::DynamicField::TextArea do
|
RSpec.describe Import::OTRS::DynamicField::TextArea do
|
||||||
it_behaves_like 'Import::OTRS::DynamicField'
|
it_behaves_like 'Import::OTRS::DynamicField'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/dynamic_field_examples'
|
require 'lib/import/otrs/dynamic_field_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::DynamicField::Text do
|
RSpec.describe Import::OTRS::DynamicField::Text do
|
||||||
it_behaves_like 'Import::OTRS::DynamicField'
|
it_behaves_like 'Import::OTRS::DynamicField'
|
|
@ -1,6 +1,6 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
require 'import/otrs/dynamic_field_examples'
|
require 'lib/import/otrs/dynamic_field_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::DynamicFieldFactory do
|
RSpec.describe Import::OTRS::DynamicFieldFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/dynamic_field_examples'
|
require 'lib/import/otrs/dynamic_field_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::DynamicField do
|
RSpec.describe Import::OTRS::DynamicField do
|
||||||
it_behaves_like 'Import::OTRS::DynamicField'
|
it_behaves_like 'Import::OTRS::DynamicField'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/history_examples'
|
require 'lib/import/otrs/history_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::History::Article do
|
RSpec.describe Import::OTRS::History::Article do
|
||||||
it_behaves_like 'Import::OTRS::History'
|
it_behaves_like 'Import::OTRS::History'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/history_examples'
|
require 'lib/import/otrs/history_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::History::Move do
|
RSpec.describe Import::OTRS::History::Move do
|
||||||
it_behaves_like 'Import::OTRS::History'
|
it_behaves_like 'Import::OTRS::History'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/history_examples'
|
require 'lib/import/otrs/history_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::History::NewTicket do
|
RSpec.describe Import::OTRS::History::NewTicket do
|
||||||
it_behaves_like 'Import::OTRS::History'
|
it_behaves_like 'Import::OTRS::History'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/history_examples'
|
require 'lib/import/otrs/history_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::History::PriorityUpdate do
|
RSpec.describe Import::OTRS::History::PriorityUpdate do
|
||||||
it_behaves_like 'Import::OTRS::History'
|
it_behaves_like 'Import::OTRS::History'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/history_examples'
|
require 'lib/import/otrs/history_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::History::StateUpdate do
|
RSpec.describe Import::OTRS::History::StateUpdate do
|
||||||
it_behaves_like 'Import::OTRS::History'
|
it_behaves_like 'Import::OTRS::History'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::HistoryFactory do
|
RSpec.describe Import::OTRS::HistoryFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/otrs/history_examples'
|
require 'lib/import/otrs/history_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::History do
|
RSpec.describe Import::OTRS::History do
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::PriorityFactory do
|
RSpec.describe Import::OTRS::PriorityFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::QueueFactory do
|
RSpec.describe Import::OTRS::QueueFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/transaction_factory_examples'
|
require 'lib/import/transaction_factory_examples'
|
||||||
|
|
||||||
RSpec::Matchers.define_negated_matcher :not_change, :change
|
RSpec::Matchers.define_negated_matcher :not_change, :change
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/import_factory_examples'
|
require 'lib/import/import_factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::SysConfigFactory do
|
RSpec.describe Import::OTRS::SysConfigFactory do
|
||||||
it_behaves_like 'Import factory'
|
it_behaves_like 'Import factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::TicketFactory do
|
RSpec.describe Import::OTRS::TicketFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS::UserFactory do
|
RSpec.describe Import::OTRS::UserFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,9 +1,9 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/helper_examples'
|
require 'lib/import/helper_examples'
|
||||||
require 'import/importer_examples'
|
require 'lib/import/importer_examples'
|
||||||
require 'import/otrs/diff_examples'
|
require 'lib/import/otrs/diff_examples'
|
||||||
require 'import/async_examples'
|
require 'lib/import/async_examples'
|
||||||
require 'import/import_stats_examples'
|
require 'lib/import/import_stats_examples'
|
||||||
|
|
||||||
RSpec.describe Import::OTRS do
|
RSpec.describe Import::OTRS do
|
||||||
it_behaves_like 'Import backend'
|
it_behaves_like 'Import backend'
|
|
@ -1,4 +1,4 @@
|
||||||
require 'import/base_factory_examples'
|
require 'lib/import/base_factory_examples'
|
||||||
|
|
||||||
RSpec.shared_examples 'Import::TransactionFactory' do
|
RSpec.shared_examples 'Import::TransactionFactory' do
|
||||||
it_behaves_like 'Import::BaseFactory'
|
it_behaves_like 'Import::BaseFactory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/transaction_factory_examples'
|
require 'lib/import/transaction_factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::TransactionFactory do
|
RSpec.describe Import::TransactionFactory do
|
||||||
it_behaves_like 'Import::TransactionFactory'
|
it_behaves_like 'Import::TransactionFactory'
|
|
@ -1,4 +1,4 @@
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.shared_examples 'Import::Zendesk::BaseFactory' do
|
RSpec.shared_examples 'Import::Zendesk::BaseFactory' do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/base_factory_examples'
|
require 'lib/import/zendesk/base_factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::BaseFactory do
|
RSpec.describe Import::Zendesk::BaseFactory do
|
||||||
it_behaves_like 'Import::Zendesk::BaseFactory'
|
it_behaves_like 'Import::Zendesk::BaseFactory'
|
|
@ -1,6 +1,6 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/base_factory_examples'
|
require 'lib/import/zendesk/base_factory_examples'
|
||||||
require 'import/zendesk/local_id_mapper_hook_examples'
|
require 'lib/import/zendesk/local_id_mapper_hook_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::GroupFactory do
|
RSpec.describe Import::Zendesk::GroupFactory do
|
||||||
it_behaves_like 'Import::Zendesk::BaseFactory'
|
it_behaves_like 'Import::Zendesk::BaseFactory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/local_id_mapper_hook_examples'
|
require 'lib/import/zendesk/local_id_mapper_hook_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::LocalIDMapperHook do
|
RSpec.describe Import::Zendesk::LocalIDMapperHook do
|
||||||
it_behaves_like 'Import::Zendesk::LocalIDMapperHook'
|
it_behaves_like 'Import::Zendesk::LocalIDMapperHook'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/object_field_examples'
|
require 'lib/import/zendesk/object_field_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::ObjectField do
|
RSpec.describe Import::Zendesk::ObjectField do
|
||||||
it_behaves_like 'Import::Zendesk::ObjectField'
|
it_behaves_like 'Import::Zendesk::ObjectField'
|
|
@ -1,6 +1,6 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
require 'import/zendesk/local_id_mapper_hook_examples'
|
require 'lib/import/zendesk/local_id_mapper_hook_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::OrganizationFieldFactory do
|
RSpec.describe Import::Zendesk::OrganizationFieldFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,6 +1,6 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/base_factory_examples'
|
require 'lib/import/zendesk/base_factory_examples'
|
||||||
require 'import/zendesk/local_id_mapper_hook_examples'
|
require 'lib/import/zendesk/local_id_mapper_hook_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::OrganizationFieldFactory do
|
RSpec.describe Import::Zendesk::OrganizationFieldFactory do
|
||||||
it_behaves_like 'Import::Zendesk::BaseFactory'
|
it_behaves_like 'Import::Zendesk::BaseFactory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/object_field_examples'
|
require 'lib/import/zendesk/object_field_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::OrganizationField do
|
RSpec.describe Import::Zendesk::OrganizationField do
|
||||||
it_behaves_like 'Import::Zendesk::ObjectField'
|
it_behaves_like 'Import::Zendesk::ObjectField'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/lookup_backend_examples'
|
require 'lib/import/zendesk/lookup_backend_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::Priority do
|
RSpec.describe Import::Zendesk::Priority do
|
||||||
it_behaves_like 'Lookup backend'
|
it_behaves_like 'Lookup backend'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/lookup_backend_examples'
|
require 'lib/import/zendesk/lookup_backend_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::State do
|
RSpec.describe Import::Zendesk::State do
|
||||||
it_behaves_like 'Lookup backend'
|
it_behaves_like 'Lookup backend'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::Ticket::Comment::AttachmentFactory do
|
RSpec.describe Import::Zendesk::Ticket::Comment::AttachmentFactory do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/ticket/comment/local_id_lookup_backend_examples'
|
require 'lib/import/zendesk/ticket/comment/local_id_lookup_backend_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::Ticket::Comment::Sender do
|
RSpec.describe Import::Zendesk::Ticket::Comment::Sender do
|
||||||
it_behaves_like 'local_id lookup backend'
|
it_behaves_like 'local_id lookup backend'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/ticket/comment/local_id_lookup_backend_examples'
|
require 'lib/import/zendesk/ticket/comment/local_id_lookup_backend_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::Ticket::Comment::Type do
|
RSpec.describe Import::Zendesk::Ticket::Comment::Type do
|
||||||
it_behaves_like 'local_id lookup backend'
|
it_behaves_like 'local_id lookup backend'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/ticket/sub_object_factory_examples'
|
require 'lib/import/zendesk/ticket/sub_object_factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::Ticket::CommentFactory do
|
RSpec.describe Import::Zendesk::Ticket::CommentFactory do
|
||||||
it_behaves_like 'Import::Zendesk::Ticket::SubObjectFactory'
|
it_behaves_like 'Import::Zendesk::Ticket::SubObjectFactory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/factory_examples'
|
require 'lib/import/factory_examples'
|
||||||
|
|
||||||
RSpec.shared_examples 'Import::Zendesk::Ticket::SubObjectFactory' do
|
RSpec.shared_examples 'Import::Zendesk::Ticket::SubObjectFactory' do
|
||||||
it_behaves_like 'Import::Factory'
|
it_behaves_like 'Import::Factory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/ticket/sub_object_factory_examples'
|
require 'lib/import/zendesk/ticket/sub_object_factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::Ticket::TagFactory do
|
RSpec.describe Import::Zendesk::Ticket::TagFactory do
|
||||||
it_behaves_like 'Import::Zendesk::Ticket::SubObjectFactory'
|
it_behaves_like 'Import::Zendesk::Ticket::SubObjectFactory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/base_factory_examples'
|
require 'lib/import/zendesk/base_factory_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::TicketFactory do
|
RSpec.describe Import::Zendesk::TicketFactory do
|
||||||
it_behaves_like 'Import::Zendesk::BaseFactory'
|
it_behaves_like 'Import::Zendesk::BaseFactory'
|
|
@ -1,6 +1,6 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/base_factory_examples'
|
require 'lib/import/zendesk/base_factory_examples'
|
||||||
require 'import/zendesk/local_id_mapper_hook_examples'
|
require 'lib/import/zendesk/local_id_mapper_hook_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::TicketFieldFactory do
|
RSpec.describe Import::Zendesk::TicketFieldFactory do
|
||||||
it_behaves_like 'Import::Zendesk::BaseFactory'
|
it_behaves_like 'Import::Zendesk::BaseFactory'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/object_field_examples'
|
require 'lib/import/zendesk/object_field_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::TicketField do
|
RSpec.describe Import::Zendesk::TicketField do
|
||||||
it_behaves_like 'Import::Zendesk::ObjectField'
|
it_behaves_like 'Import::Zendesk::ObjectField'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/user/lookup_backend_examples'
|
require 'lib/import/zendesk/user/lookup_backend_examples'
|
||||||
|
|
||||||
# required due to some of rails autoloading issues
|
# required due to some of rails autoloading issues
|
||||||
require 'import/zendesk/user/group'
|
require 'import/zendesk/user/group'
|
|
@ -1,5 +1,5 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/user/lookup_backend_examples'
|
require 'lib/import/zendesk/user/lookup_backend_examples'
|
||||||
|
|
||||||
# required due to some of rails autoloading issues
|
# required due to some of rails autoloading issues
|
||||||
require 'import/zendesk/user/role'
|
require 'import/zendesk/user/role'
|
|
@ -1,6 +1,6 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
require 'import/zendesk/base_factory_examples'
|
require 'lib/import/zendesk/base_factory_examples'
|
||||||
require 'import/zendesk/local_id_mapper_hook_examples'
|
require 'lib/import/zendesk/local_id_mapper_hook_examples'
|
||||||
|
|
||||||
RSpec.describe Import::Zendesk::UserFactory do
|
RSpec.describe Import::Zendesk::UserFactory do
|
||||||
it_behaves_like 'Import::Zendesk::BaseFactory'
|
it_behaves_like 'Import::Zendesk::BaseFactory'
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue