FileUtils to fileutils
re-added minimumInputLength to all usages of the select2 gem
fixed routing shit
various small changes
added a todo
repaired relationship_type test
repaired relationship_type test. Running now
cleaned up relationship_type tests
now actor is constructed correctly in the actors test
added relationships to actor test, the non-working tests should work now, since the @actor is saved successfully
finished actor test. BUT one question arouse: Do we save our actors whenever required? They must be saved when the to_string_pattern changes and they must be saved as well when any information changes. Additional tests could include: What happens when the scope changes, and so on...
Added comment regarding additional tests in actor
repaired scope_spec.rb - scope is saved now, no error message in it{should be_valid} anymore
added validation it{should_be valid} wherever we save our test object
added validation it{should_be valid} wherever we save our test object
on the way to a blacklist_scope_test that tests whether the scoping really works
on the way to a blacklist_scope_test that tests whether the scoping really works
blacklist scope spec now tests whether a user or an admin can see an information for which we set :User to the blecklist. Test works fine, only the admin can see that information
whitelist scope test working fine
adjusted actor_spec.rb using rspec best practices in dest case description