Skip to content

Instantly share code, notes, and snippets.

@duderonomy
duderonomy / authentication_pages_spec.rb
Last active August 29, 2015 14:26
confusing user variable, visit vs. put
describe 'authorization' do
let(:user) { FactoryGirl.create(:user) }
describe 'for non-signed-in users' do
describe 'in the Users controller' do
# describe 'visiting the edit page' do
# before { visit edit_user_path(user) }
# it { expect(page).to have_title(full_title('Sign in')) }
@duderonomy
duderonomy / README.md
Last active August 29, 2015 14:23 — forked from jxson/README.md

Synopsis

At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Code Example

Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.

Motivation