Skip to content

Instantly share code, notes, and snippets.

@dangalipo
Created May 28, 2012 04:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dangalipo/2817218 to your computer and use it in GitHub Desktop.
Save dangalipo/2817218 to your computer and use it in GitHub Desktop.
def edit
if current_user.vetter?
if @mission.vet.nil?
@mission.start_vetting
@mission.build_vet
end
end
end
it do
get :edit, id: mission.id
mission.vet.should_not be_nil
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment