Created
May 28, 2012 04:26
-
-
Save dangalipo/2817218 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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