Shallow
Real unit test (isolation, no children render)
Simple shallow
Calls:
- constructor
- render
# /Users/franzejr/.rbenv/versions/2.3.6/lib/ruby/gems/2.3.0/gems/activerecord-4.2.1 | |
# Changes in activerecord (4.2.1) lib/active_record/connection_adapters/postgresql_adapter.rb | |
# Enable standard-conforming strings if available. | |
def set_standard_conforming_strings | |
old, self.client_min_messages = client_min_messages, 'notice' | |
execute('SET standard_conforming_strings = on', 'SCHEMA') rescue nil | |
ensure | |
self.client_min_messages = old | |
end |
Real unit test (isolation, no children render)
Calls:
brew tap homebrew/versions | |
brew install v8-315 | |
gem install libv8 -v '3.16.14.13' -- --with-system-v8 | |
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315 | |
bundle install |
# 1) Create your private key (any password will do, we remove it below) | |
$ cd ~/.ssh | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key |
/********************************** example **************************************/ | |
var base_url = 'http://people.cs.uct.ac.za/~swatermeyer/VulaMobi/'; | |
function example() | |
{ | |
var response = ""; | |
var form_data = { | |
username: username, | |
password: password |