Created
January 13, 2015 16:49
-
-
Save sirupsen/44f6c7293f25cf69382d to your computer and use it in GitHub Desktop.
Example for blog post
This file contains hidden or 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 test_storefront_resilient_to_sessions_down | |
Toxiproxy[:sessions_data_store].down do | |
get '/' | |
assert_equal 'Customer sign in is currently unavailable', flash[:notice] | |
assert_response :success | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment