Skip to content

Commit

Permalink
Fix to line length
Browse files Browse the repository at this point in the history
  • Loading branch information
broder committed Dec 23, 2016
1 parent 98f82da commit e640917
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/controllers/crops_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
crop.update(source: 'guide')
post 'create', crop: crop
expect(response.status).to eq(302)
expect(response).to redirect_to new_guide_path(:en, crop_id: assigns(:crop).id)
expect(response).to redirect_to new_guide_path(:en,
crop_id: assigns(:crop).id)
end

it 'Should redirect back to form after unsuccessful crop creation' do
Expand Down

0 comments on commit e640917

Please sign in to comment.