Skip to content

Instantly share code, notes, and snippets.

View antmelnyk's full-sized avatar
🧅
БНР буде вільною

Anton Melnyk antmelnyk

🧅
БНР буде вільною
View GitHub Profile
@antmelnyk
antmelnyk / Vagrantfile
Last active September 5, 2017 13:57
Some basic Vagrantfile shell script for Ruby installation
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 3000, host: 3000
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
@antmelnyk
antmelnyk / capybara cheat sheet
Created October 11, 2016 17:29 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=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')