Skip to content

Instantly share code, notes, and snippets.

@jakep36
jakep36 / gist:101f7022eacf02e72a4e
Created April 19, 2015 19:19
sample integration test
# -*- coding: utf-8 -*-
require "test_helper"
feature "Shopping" do
scenario "add several items to the cart and check out", js: true do
# Go to the store's homepage
visit root_path
cart_must_be_empty
# Add the first item to the cart.

Keybase proof

I hereby claim:

  • I am jakep36 on github.
  • I am jakep36 (https://keybase.io/jakep36) on keybase.
  • I have a public key whose fingerprint is 9042 81F8 CBA7 84F4 3BEA B70B D3AD 837B ED80 D2A3

To claim this, I am signing this object:

Student.find(:all, :conditions => { :grade => 9..12 })
Student.find(:all, :conditions => { :grade => [9,11,12] })