History log of /ontohub/spec/controllers/repositories_controller_spec.rb
Revision Date Author Comments Expand
7ca38d75d045fade73b81bff6fdf34f4755d75fb 05-May-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Replace shoulda's set_the_flash by rspec's expect.

242a1f2f61fb1204c7e9443b53c1c881c1715c4b 10-Mar-2015 Tim Reddehase <robustus@rightsrestricted.com>

move repository api handling to api namespace.

290970b6edfd669bc5dfe7870c351a77a731aebb 09-Mar-2015 Tim Reddehase <robustus@rightsrestricted.com>

add json validation spec to repository.

8f845e804ef24c045876941e34930a9ac6720dbf 28-Jan-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add remote_type attribute to Repository

a38bf57c270c2677788657bc8a912f14de3c8d7e 28-Jan-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add specs for repository fork

67ea9fccbdc154cf2418f16ab8883ccfcbc77b51 05-Jan-2015 Model Renamer <bot-rename@ontohub.org>

Run rename refactor script.

/ontohub/app/assets/javascripts/jquery.truncate.js /ontohub/app/assets/javascripts/owl.js /ontohub/app/assets/javascripts/plugins/graph.js.coffee /ontohub/app/assets/javascripts/plugins/themes/apple/style.css /ontohub/app/assets/javascripts/plugins/themes/classic/style.css /ontohub/app/assets/javascripts/plugins/themes/default-rtl/style.css /ontohub/app/assets/javascripts/plugins/themes/default/style.css /ontohub/app/assets/javascripts/repository/clone-url.js.coffee /ontohub/app/assets/javascripts/repository_directories.js.coffee /ontohub/app/assets/javascripts/symbols.js.coffee /ontohub/app/assets/javascripts/tooltips.js.coffee /ontohub/app/assets/stylesheets/application.css.sass /ontohub/app/assets/stylesheets/axioms.css.sass /ontohub/app/assets/stylesheets/formats.sass /ontohub/app/assets/stylesheets/graphs.css /ontohub/app/assets/stylesheets/symbols.css.sass /ontohub/app/controllers/adjoints_controller.rb /ontohub/app/controllers/autocomplete_controller.rb /ontohub/app/controllers/children_controller.rb /ontohub/app/controllers/general_mappings_controller.rb /ontohub/app/controllers/graphs_controller.rb /ontohub/app/controllers/language_adjoints_controller.rb /ontohub/app/controllers/language_mappings_controller.rb /ontohub/app/controllers/logic_adjoints_controller.rb /ontohub/app/controllers/logic_mappings_controller.rb /ontohub/app/controllers/mappings_controller.rb /ontohub/app/controllers/ontologies_controller.rb /ontohub/app/controllers/ontology_versions_controller.rb /ontohub/app/controllers/polymorphic_resource/base.rb /ontohub/app/controllers/privilege_list/base.rb /ontohub/app/controllers/repository_directories_controller.rb /ontohub/app/controllers/symbols_controller.rb /ontohub/app/controllers/symbols_search_controller.rb /ontohub/app/helpers/application_helper.rb /ontohub/app/helpers/entity_helper.rb /ontohub/app/helpers/mapping_helper.rb /ontohub/app/helpers/navigation_helper.rb /ontohub/app/helpers/ontology_helper.rb /ontohub/app/helpers/repositories_helper.rb /ontohub/app/helpers/sentence_helper.rb /ontohub/app/helpers/symbol_helper.rb /ontohub/app/models/link_version.rb /ontohub/app/models/mapping.rb /ontohub/app/models/mapping_version.rb /ontohub/app/models/ontology.rb /ontohub/app/models/ontology/categories.rb /ontohub/app/models/ontology/mappings.rb /ontohub/app/models/ontology/sentences.rb /ontohub/app/models/ontology/symbols.rb /ontohub/app/models/oops_response.rb /ontohub/app/models/proof_status/creation_from_ontology.rb /ontohub/app/models/sentence.rb /ontohub/app/models/sentence/readability.rb /ontohub/app/models/structured_proof_part.rb /ontohub/app/models/symbol.rb /ontohub/app/models/symbol/readability.rb /ontohub/app/models/symbol/searching.rb /ontohub/app/models/symbol_group.rb /ontohub/app/models/symbol_mapping.rb /ontohub/app/models/translated_sentence.rb /ontohub/app/viewhelpers/logic_viewhelper.rb /ontohub/app/views/adjoints/_form.html.haml /ontohub/app/views/adjoints/edit.html.haml /ontohub/app/views/adjoints/new.html.haml /ontohub/app/views/adjoints/show.html.haml /ontohub/app/views/admin/status/_errored_ontologies.html.haml /ontohub/app/views/admin/status/_ontologies.html.haml /ontohub/app/views/admin/users/_user.html.haml /ontohub/app/views/categories/index.html.haml /ontohub/app/views/categories/show.html.haml /ontohub/app/views/children/_child.html.haml /ontohub/app/views/children/index.html.haml /ontohub/app/views/comments/_comment.html.haml /ontohub/app/views/devise/_mappings.html.haml /ontohub/app/views/devise/confirmations/new.html.haml /ontohub/app/views/devise/mailer/confirmation_instructions.html.haml /ontohub/app/views/devise/mailer/reset_password_instructions.html.haml /ontohub/app/views/devise/mailer/unlock_instructions.html.haml /ontohub/app/views/devise/passwords/edit.html.haml /ontohub/app/views/devise/passwords/new.html.haml /ontohub/app/views/devise/registrations/new.html.haml /ontohub/app/views/devise/sessions/new.html.haml /ontohub/app/views/devise/unlocks/new.html.haml /ontohub/app/views/errors/index.html.haml /ontohub/app/views/files/_show_dir.html.haml /ontohub/app/views/files/_show_file.html.haml /ontohub/app/views/files/show.html.haml /ontohub/app/views/formality_levels/_formality_level.html.haml /ontohub/app/views/formality_levels/show.html.haml /ontohub/app/views/general_mappings/_adjoints.html.haml /ontohub/app/views/general_mappings/_form.html.haml /ontohub/app/views/general_mappings/edit.html.haml /ontohub/app/views/general_mappings/new.html.haml /ontohub/app/views/general_mappings/show.html.haml /ontohub/app/views/graphs/index.html.haml /ontohub/app/views/home/_comments.html.haml /ontohub/app/views/home/_versions.html.haml /ontohub/app/views/home/show.html.haml /ontohub/app/views/kaminari/_first_page.html.haml /ontohub/app/views/kaminari/_last_page.html.haml /ontohub/app/views/kaminari/_next_page.html.haml /ontohub/app/views/kaminari/_prev_page.html.haml /ontohub/app/views/keys/_key.html.haml /ontohub/app/views/languages/_language.html.haml /ontohub/app/views/languages/_mappings.html.haml /ontohub/app/views/languages/_ontologies.html.haml /ontohub/app/views/languages/_serializations.html.haml /ontohub/app/views/languages/_supports.html.haml /ontohub/app/views/languages/index.html.haml /ontohub/app/views/layouts/application.html.haml /ontohub/app/views/layouts/mailer.html.haml /ontohub/app/views/license_models/_license_model.html.haml /ontohub/app/views/license_models/show.html.haml /ontohub/app/views/link_versions/_form.html.haml /ontohub/app/views/link_versions/edit.html.haml /ontohub/app/views/links/_link.html.haml /ontohub/app/views/logics/_distributed.html.haml /ontohub/app/views/logics/_heterogeneous_distributed.html.haml /ontohub/app/views/logics/_logic.html.haml /ontohub/app/views/logics/_mappings.html.haml /ontohub/app/views/logics/_ontologies.html.haml /ontohub/app/views/logics/_supports.html.haml /ontohub/app/views/logics/search.json.erb /ontohub/app/views/logics/show.html.haml /ontohub/app/views/mapping_versions/_form.html.haml /ontohub/app/views/mapping_versions/edit.html.haml /ontohub/app/views/mapping_versions/index.html.haml /ontohub/app/views/mappings/_form.html.haml /ontohub/app/views/mappings/_mapping.html.haml /ontohub/app/views/mappings/edit.html.haml /ontohub/app/views/mappings/index.html.haml /ontohub/app/views/mappings/new.html.haml /ontohub/app/views/mappings/show.html.haml /ontohub/app/views/ontologies/_info.html.haml /ontohub/app/views/ontologies/_ontology.html.haml /ontohub/app/views/ontologies/_ontology_search_response.html.haml /ontohub/app/views/ontologies/index_repository.html.haml /ontohub/app/views/ontologies/show.html.haml /ontohub/app/views/ontology_types/show.html.haml /ontohub/app/views/ontology_versions/_ontology_version.html.haml /ontohub/app/views/permissions/_form.html.haml /ontohub/app/views/projects/_project.html.haml /ontohub/app/views/projects/show.html.haml /ontohub/app/views/repositories/_clone_url.html.haml /ontohub/app/views/repositories/_repository.html.haml /ontohub/app/views/repositories/edit.haml /ontohub/app/views/repositories/index.html.haml /ontohub/app/views/repositories/new.html.haml /ontohub/app/views/repository_settings/_subnav.html.haml /ontohub/app/views/repository_settings/index.html.haml /ontohub/app/views/review/edit.html.haml /ontohub/app/views/review/new.html.haml /ontohub/app/views/sentences/_sentence.html.haml /ontohub/app/views/serializations/index.html.haml /ontohub/app/views/serializations/show.html.haml /ontohub/app/views/shared/_navbar.html.haml /ontohub/app/views/shared/_subnavigation.html.haml /ontohub/app/views/shared/_user_repositories.html.haml /ontohub/app/views/symbols/_list.html.haml /ontohub/app/views/symbols/_node.html.haml /ontohub/app/views/symbols/_treeview.html.haml /ontohub/app/views/symbols/index.html.haml /ontohub/app/views/symbols_search/_group.html.haml /ontohub/app/views/symbols_search/_hit.html.haml /ontohub/app/views/symbols_search/index.html.haml /ontohub/app/views/tasks/_task.html.haml /ontohub/app/views/tasks/show.html.haml /ontohub/app/views/team_users/_form.html.haml /ontohub/app/views/team_users/_team_user.html.haml /ontohub/app/views/teams/index.html.haml /ontohub/app/views/teams/permissions/_permission.haml /ontohub/app/views/teams/permissions/index.html.haml /ontohub/app/views/teams/show.html.haml /ontohub/app/views/tools/edit.html.haml /ontohub/app/views/tools/index.html.haml /ontohub/app/views/tools/new.html.haml /ontohub/app/views/users/_comments.html.haml /ontohub/app/views/users/_versions.html.haml /ontohub/config/application.rb /ontohub/config/external_mapping_mapping.yml /ontohub/config/i18n-tasks.yml /ontohub/config/initializers/devise.rb /ontohub/config/locales/devise.en.yml /ontohub/config/locales/en.yml /ontohub/config/routes.rb /ontohub/config/settings.yml /ontohub/config/sunspot.yml /ontohub/db/migrate/20141215175503_rename_via_script.rb /ontohub/lib/aggregatable.rb /ontohub/lib/external_mapping.rb /ontohub/lib/graph_data_fetcher.rb /ontohub/lib/graph_structures/specific_fetchers/mappings.rb /ontohub/lib/hets/node_evaluation_helper.rb /ontohub/lib/hets/node_evaluator.rb /ontohub/lib/hets/nokogiri_listener.rb /ontohub/lib/logicgraph_parser.rb /ontohub/lib/ontology_parser.rb /ontohub/lib/ontology_search.rb /ontohub/lib/parsing_callback/generic_callback.rb /ontohub/lib/parsing_callback/owl.rb /ontohub/lib/tarjan_tree.rb /ontohub/lib/triple_store.rb autocomplete_controller_spec.rb comments_controller_spec.rb graphs_controller_spec.rb ontologies_controller_spec.rb repositories_controller_spec.rb symbols_controller_spec.rb team_users_controller_spec.rb /ontohub/spec/factories/adjoint_factory.rb /ontohub/spec/factories/c_edge_factory.rb /ontohub/spec/factories/category_factory.rb /ontohub/spec/factories/comment_factory.rb /ontohub/spec/factories/formality_level_factory.rb /ontohub/spec/factories/git_repository_factory.rb /ontohub/spec/factories/hets_instance_factory_factory.rb /ontohub/spec/factories/key_factory.rb /ontohub/spec/factories/language_factory.rb /ontohub/spec/factories/license_model_factory.rb /ontohub/spec/factories/logic_factory.rb /ontohub/spec/factories/mapping.rb /ontohub/spec/factories/mapping_factory.rb /ontohub/spec/factories/ontology_factory.rb /ontohub/spec/factories/ontology_type_factory.rb /ontohub/spec/factories/ontology_version_factory.rb /ontohub/spec/factories/oops_factory.rb /ontohub/spec/factories/permission_factory.rb /ontohub/spec/factories/project_factory.rb /ontohub/spec/factories/repository_factory.rb /ontohub/spec/factories/sentence_factory.rb /ontohub/spec/factories/serialization_factory.rb /ontohub/spec/factories/svn_repository_factory.rb /ontohub/spec/factories/symbol_factory.rb /ontohub/spec/factories/symbol_group_factory.rb /ontohub/spec/factories/task_factory.rb /ontohub/spec/factories/team_factory.rb /ontohub/spec/factories/url_map_factory.rb /ontohub/spec/factories/user_factory.rb /ontohub/spec/lib/external_mapping_spec.rb /ontohub/spec/lib/oops_request/responses_spec.rb /ontohub/spec/lib/tarjan_spec.rb /ontohub/spec/models/graph_data_fetcher_spec.rb /ontohub/spec/models/mapping_spec.rb /ontohub/spec/models/ontology_spec.rb /ontohub/spec/models/repository/symlink_spec.rb /ontohub/spec/models/repository_spec.rb /ontohub/spec/models/sentence_spec.rb /ontohub/spec/models/symbol_group_spec.rb /ontohub/spec/models/symbol_mapping_spec.rb /ontohub/spec/models/symbol_spec.rb /ontohub/spec/routing/entities_search_routing_spec.rb /ontohub/spec/routing/symbols_routing_spec.rb /ontohub/spec/routing/symbols_search_routing_spec.rb
7c7a19761235efff584ee65a1c6dc4aa1735ff64 15-Dec-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Omit explicit `FactoryGirl.` on create and build.

admin/teams_controller_spec.rb admin/users_controller_spec.rb autocomplete_controller_spec.rb entities_controller_spec.rb graphs_controller_spec.rb home_controller_spec.rb language_adjoint_controller_spec.rb language_mappings_controller_spec.rb languages_controller_spec.rb logic_adjoint_controller_spec.rb logic_mappings_controller_spec.rb logics_controller_spec.rb ontologies_controller_spec.rb oops_request_controller_spec.rb permissions_controller_spec.rb repositories_controller_spec.rb sentences_controller_spec.rb serializations_controller_spec.rb team_users_controller_spec.rb teams/permissions_controller_spec.rb teams_controller_spec.rb users_controller_spec.rb /ontohub/spec/helpers/sentence_helper_spec.rb /ontohub/spec/lib/logicgraph_parser/stub_spec.rb /ontohub/spec/lib/ontology_search_spec.rb /ontohub/spec/lib/oops_request/responses_spec.rb /ontohub/spec/lib/oops_request/states_spec.rb /ontohub/spec/models/autocomplete_spec.rb /ontohub/spec/models/category.rb /ontohub/spec/models/distributed_ontology_spec.rb /ontohub/spec/models/graph_data_fetcher_spec.rb /ontohub/spec/models/logic_spec.rb /ontohub/spec/models/ontology/distributed_spec.rb /ontohub/spec/models/ontology_spec.rb /ontohub/spec/models/permission_spec.rb /ontohub/spec/models/repository/access_spec.rb /ontohub/spec/models/repository/browsing_spec.rb /ontohub/spec/models/repository/jobcount_spec.rb /ontohub/spec/models/repository/save_file_spec.rb /ontohub/spec/models/repository_spec.rb /ontohub/spec/models/team_spec.rb /ontohub/spec/models/team_user_spec.rb /ontohub/spec/models/url_map_spec.rb /ontohub/spec/models/user_spec.rb /ontohub/spec/spec_helper.rb
23305f217b86a2ebf90a848af9036908e0070542 15-Dec-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use one-liner before { ... } where possible.

admin/teams_controller_spec.rb admin/users_controller_spec.rb api/v1/ontologies_controller_spec.rb api/v1/repositories_controller_spec.rb comments_controller_spec.rb graphs_controller_spec.rb home_controller_spec.rb keys_controller_spec.rb language_adjoint_controller_spec.rb language_mappings_controller_spec.rb languages_controller_spec.rb logic_adjoint_controller_spec.rb logic_mappings_controller_spec.rb logics_controller_spec.rb ontologies_controller_spec.rb permissions_controller_spec.rb repositories_controller_spec.rb repository_settings_controller_spec.rb serializations_controller_spec.rb teams/permissions_controller_spec.rb teams_controller_spec.rb users_controller_spec.rb /ontohub/spec/lib/oops_request/states_spec.rb /ontohub/spec/lib/repository/import/svn_spec.rb /ontohub/spec/lib/timeout_worker_spec.rb /ontohub/spec/models/ability_spec.rb /ontohub/spec/models/entity_spec.rb /ontohub/spec/models/formality_level_spec.rb /ontohub/spec/models/license_model_spec.rb /ontohub/spec/models/ontology_spec.rb /ontohub/spec/models/sentence_spec.rb /ontohub/spec/models/task_spec.rb /ontohub/spec/models/user_spec.rb
185e0dda526bdea41c570ed716693efad0bfef9e 15-Dec-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Move repositories_controller_test to rspec.

f4975a306e56ecda451c0b25e6fe230075e67c1d 29-Mar-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add repository controller spec on deletion