# Include hook code here # Allow Mocks objects usage. # >> $LOAD_PATH.select {|p| p =~ /teq/} # => ["script/../config/../config/../vendor/plugins/tequila_authentication/lib"] $LOAD_PATH.unshift File.join(directory, "test/mocks/#{ENV["RAILS_ENV"]}") # puts "+++ $LOAD_PATH='#{$LOAD_PATH.inspect}'" require 'epfl/kt/tequila_authentication/tequila_authentication' ActionController::Base.send :include, Epfl::Kt::TequilaAuthentication