Skip to content

Commit

Permalink
Merge pull request hanami#70 from apohllo/fix-missing-variable-in-guides
Browse files Browse the repository at this point in the history
Fix test in 'Securing Our Form With Validations'
jodosha committed Jul 3, 2015
2 parents c2314ad + 37ae943 commit 77b553d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/guides/getting-started.md
Original file line number Diff line number Diff line change
@@ -794,6 +794,7 @@ describe Web::Controllers::Books::Create do
end

describe 'with valid params' do
let(:action) { Web::Controllers::Books::Create.new }
let(:params) { Hash[book: { title: '1984', author: 'George Orwell' }] }

it 'creates a new book' do

0 comments on commit 77b553d

Please sign in to comment.