repositories_controller_spec.rb revision 23305f217b86a2ebf90a848af9036908e0070542
require 'spec_helper'
end
before do
request.env['HTTP_AUTHORIZATION'] = ActionController::HttpAuthentication::Basic.encode_credentials(user.email, user.password + "x")
end
end
before do
request.env['HTTP_AUTHORIZATION'] = ActionController::HttpAuthentication::Basic.encode_credentials(user.email, user.password)
end
it{ should respond_with :success }
end
end
end