From a8ee769701865c603c0c71b31e4ec9e39b998dec Mon Sep 17 00:00:00 2001 From: "Michael J. Giarlo" Date: Wed, 10 May 2017 13:09:48 -0700 Subject: [PATCH] Unify spec directories for search builders --- .rubocop_todo.yml | 2 +- .../hyrax/admin_set_search_builder_spec.rb | 0 .../hyrax/catalog_search_builder_spec.rb | 0 .../hyrax/embargo_search_builder_spec.rb | 0 .../hyrax/file_set_search_builder_spec.rb | 0 .../hyrax/find_works_search_builder_spec.rb | 0 .../hyrax/lease_search_builder_spec.rb | 0 .../hyrax/my_shares_search_builder_spec.rb | 0 .../hyrax/my_works_search_builder_spec.rb | 0 .../hyrax/single_admin_set_search_builder_spec.rb | 0 .../hyrax/stats/work_status_search_builder_spec.rb | 0 .../hyrax/work_relation_spec.rb | 0 .../hyrax/work_search_builder_spec.rb | 0 .../hyrax/works_search_builder_spec.rb | 0 14 files changed, 1 insertion(+), 1 deletion(-) rename spec/{search_builder => search_builders}/hyrax/admin_set_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/catalog_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/embargo_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/file_set_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/find_works_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/lease_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/my_shares_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/my_works_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/single_admin_set_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/stats/work_status_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/work_relation_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/work_search_builder_spec.rb (100%) rename spec/{search_builder => search_builders}/hyrax/works_search_builder_spec.rb (100%) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 3d0a5f77a6..f831abde3b 100755 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -124,7 +124,7 @@ RSpec/SubjectStub: - 'spec/controllers/hyrax/file_sets_controller_spec.rb' - 'spec/models/file_set_spec.rb' - 'spec/models/hyrax/work_behavior_spec.rb' - - 'spec/search_builder/hyrax/file_set_search_builder_spec.rb' + - 'spec/search_builders/hyrax/file_set_search_builder_spec.rb' - 'spec/models/hyrax/operation_spec.rb' RSpec/AnyInstance: diff --git a/spec/search_builder/hyrax/admin_set_search_builder_spec.rb b/spec/search_builders/hyrax/admin_set_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/admin_set_search_builder_spec.rb rename to spec/search_builders/hyrax/admin_set_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/catalog_search_builder_spec.rb b/spec/search_builders/hyrax/catalog_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/catalog_search_builder_spec.rb rename to spec/search_builders/hyrax/catalog_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/embargo_search_builder_spec.rb b/spec/search_builders/hyrax/embargo_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/embargo_search_builder_spec.rb rename to spec/search_builders/hyrax/embargo_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/file_set_search_builder_spec.rb b/spec/search_builders/hyrax/file_set_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/file_set_search_builder_spec.rb rename to spec/search_builders/hyrax/file_set_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/find_works_search_builder_spec.rb b/spec/search_builders/hyrax/find_works_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/find_works_search_builder_spec.rb rename to spec/search_builders/hyrax/find_works_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/lease_search_builder_spec.rb b/spec/search_builders/hyrax/lease_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/lease_search_builder_spec.rb rename to spec/search_builders/hyrax/lease_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/my_shares_search_builder_spec.rb b/spec/search_builders/hyrax/my_shares_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/my_shares_search_builder_spec.rb rename to spec/search_builders/hyrax/my_shares_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/my_works_search_builder_spec.rb b/spec/search_builders/hyrax/my_works_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/my_works_search_builder_spec.rb rename to spec/search_builders/hyrax/my_works_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/single_admin_set_search_builder_spec.rb b/spec/search_builders/hyrax/single_admin_set_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/single_admin_set_search_builder_spec.rb rename to spec/search_builders/hyrax/single_admin_set_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/stats/work_status_search_builder_spec.rb b/spec/search_builders/hyrax/stats/work_status_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/stats/work_status_search_builder_spec.rb rename to spec/search_builders/hyrax/stats/work_status_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/work_relation_spec.rb b/spec/search_builders/hyrax/work_relation_spec.rb similarity index 100% rename from spec/search_builder/hyrax/work_relation_spec.rb rename to spec/search_builders/hyrax/work_relation_spec.rb diff --git a/spec/search_builder/hyrax/work_search_builder_spec.rb b/spec/search_builders/hyrax/work_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/work_search_builder_spec.rb rename to spec/search_builders/hyrax/work_search_builder_spec.rb diff --git a/spec/search_builder/hyrax/works_search_builder_spec.rb b/spec/search_builders/hyrax/works_search_builder_spec.rb similarity index 100% rename from spec/search_builder/hyrax/works_search_builder_spec.rb rename to spec/search_builders/hyrax/works_search_builder_spec.rb