- Make a new rails app and initilize through git
$ chruby 2.0.0
$ gem install rails
$ rails new myapp ~/src
$ cd ~/src/myapp
$ git init
- Install elastic beanstalk command line tools and initialize
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'growl' | |
require 'lighthouse/console' | |
Lighthouse.account = "thepoint" | |
Lighthouse.token = raise("Get your own key") | |
proj_id = "13151-support" |
kubectl -n kube-system create sa kube-dns
kubectl -n kube-system patch deploy/kube-dns -p '{"spec": {"template": {"spec": {"serviceAccountName": "kube-dns"}}}}'
import junit.framework.Assert; | |
import junit.framework.TestCase; | |
import org.openqa.selenium.*; | |
import org.openqa.selenium.remote.*; | |
import java.net.URL; | |
import java.util.concurrent.TimeUnit; | |
public class TestingUploadSe2Sauce extends TestCase { | |
private RemoteWebDriver driver; |
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |