Original Email: https://www.youtube.com/watch?v=Az49aNuYeJs
sb@strongbadia.usa | Strong Bad | email #: 118
Expected: Emails can be deleted, even if they are one of those virus ones
| # Deprecation warnings for common test-spec helpers, useful when porting tests | |
| # to MiniTest by showing you what to replace it with. | |
| # This was originally written by @madrobby for Freckle: https://letsfreckle.com | |
| # remember to replace `YourApp` with the namespace of your app. | |
| module YourApp::Assertions | |
| mattr_accessor :deprecation_warnings | |
| @@deprecation_warnings = [] | |
| class SpecResponder |
| # fixes nested describes in controller tests | |
| # this is a Rails bug apparently fixed in newer Rails versions | |
| # https://github.com/rails/rails/issues/7743 | |
| # This was originally written by @madrobby for Freckle: https://letsfreckle.com | |
| class ActionController::TestCase | |
| def self.determine_default_controller_class(name) | |
| name.split('::').reverse.map { |n| | |
| safe_constantize(n.sub(/Test$/, '')) | |
| }.compact.first |
| # Some very helpful asserts to add on top of MiniTest, includes ordered array | |
| # and set comparison, ActiveRecord attribute validation, and layout assertions | |
| # This was originally written by @madrobby for Freckle: https://letsfreckle.com | |
| module MiniTest | |
| module Assertions | |
| def assert_layout(layout, message=nil) | |
| assert_equal "layouts/#{layout}", @response.layout, message | |
| end |
Original Email: https://www.youtube.com/watch?v=Az49aNuYeJs
sb@strongbadia.usa | Strong Bad | email #: 118
Expected: Emails can be deleted, even if they are one of those virus ones
| <!DOCTYPE html> | |
| <!-- code/comments not formatted for word wrap --> | |
| <html> | |
| <head> | |
| <!-- Display the KSA favicon --> | |
| <link rel="shortcut icon" href="/images/KSA/favicon.ico" type="image/x-icon" /> |
| <script src="https://zapier.com/zapbook/embed/widget.js?services=freckle&limit=6"></script> |
| using UnityEngine; | |
| using System.Collections; | |
| using System; | |
| namespace Telemachus | |
| { | |
| public class CameraCapture : MonoBehaviour | |
| { | |
| public RenderTexture overviewTexture; | |
| Camera OVcamera = null; |
| [ | |
| // TABS | |
| { | |
| "class": "tab_label", | |
| "parents": [{"class": "tab_control","attributes": ["selected"]}], | |
| "shadow_offset": [0,0], | |
| "fg": [255, 255, 255] // 06 | |
| }, | |
| { | |
| "class": "tab_control", |
| EventTarget.prototype._addEventListener = EventTarget.prototype.addEventListener; | |
| EventTarget.prototype.addEventListener = function(a,b,c) { | |
| if(c==undefined) | |
| c=false; | |
| this._addEventListener(a,b,c); | |
| if(!window.eventListenerList) | |
| window.eventListenerList = {}; | |
| if(!window.eventListenerList[a]) | |
| window.eventListenerList[a] = []; | |
| //this.removeEventListener(a,b,c); // TODO - handle duplicates.. |