diff --git a/spec/controllers/photos_controller_spec.rb b/spec/controllers/photos_controller_spec.rb
index 0ad68cfd183141582fbae2b3bebeb68d3d9751bc..af7e076ddb10f65c10cbf471458f90473c6f47eb 100644
--- a/spec/controllers/photos_controller_spec.rb
+++ b/spec/controllers/photos_controller_spec.rb
@@ -163,4 +163,15 @@ describe PhotosController do
     end
   end
 
+  describe "#show" do
+    it 'should return 404 for nonexistent stuff on mobile devices' do
+      expect{get :show, :id => 772831, :format => 'mobile'}.to raise_error ActiveRecord::RecordNotFound
+    end
+
+    it 'should return 200 for existing stuff on mobile devices' do
+      get :show, :id => @alices_photo.id, :format => 'mobile'
+      response.should be_success
+    end
+  end
+
 end