test/dummy/app/controllers/home_controller.rb in bbq-0.2.0 vs test/dummy/app/controllers/home_controller.rb in bbq-0.2.1
- old
+ new
@@ -20,6 +20,10 @@
format.json { render :json => @rainbow }
format.vnd_json_v2 { render :json => @rainbow }
format.yaml { render :text => @rainbow.to_yaml }
end
end
+
+ def uh_oh
+ raise NoMethodError
+ end
end