Created
September 9, 2018 17:47
-
-
Save nfedyashev/ef8ca83e30a4b9ae4993e8a7f50e7b74 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
➜ rails git:(master) ✗ ag flash'\[' **/*_test.rb | |
actionpack/test/controller/action_pack_assertions_test.rb | |
46: flash["hello"] = "my name is inigo montoya..." | |
310: assert_predicate flash["hello"], :present? | |
actionpack/test/controller/flash_test.rb | |
9: flash["that"] = "hello" | |
24: @flashy = flash["that"] | |
30: @flashy = flash["that"] | |
36: @flashy = flash["that"] | |
48: flash["that"] = "hello" | |
49: @flashy_that = flash["that"] | |
51: @flashy_that_reset = flash["that"] | |
52: flash["this"] = "good-bye" | |
53: @flashy_this = flash["this"] | |
70: flash["foo"] = "bar" | |
252: flash["that"] = "hello" | |
262: render inline: "flash: #{flash["that"]}" | |
266: flash[:bar] = "for great justice" | |
282: assert_equal "hello", @request.flash["that"] | |
actionpack/test/controller/force_ssl_test.rb | |
49: render plain: flash[:message] | |
53: render plain: flash[:alert] | |
57: render plain: flash[:notice] | |
89: flash["that"] = "hello" | |
95: @flashy = flash["that"] | |
actionpack/test/controller/test_case_test.rb | |
17: flash["test"] = ">#{flash["test"]}<" | |
27: flash.now["test_now"] = ">#{flash["test_now"]}<" | |
277: assert_equal "><", flash["test"] | |
284: assert_equal ">value<", flash["test"] | |
291: assert_equal ">value_now<", flash["test_now"] | |
507: assert_equal "created", flash[:notice] | |
actionpack/test/dispatch/routing_test.rb | |
4971: render plain: (flash[:foo] || "foo") | |
4977: get "/foo", to: redirect { |params, req| req.flash[:foo] = "bar"; "/bar" } | |
actionview/test/template/test_case_test.rb | |
77: test "delegates notice to request.flash[:notice]" do | |
83: test "delegates alert to request.flash[:alert]" do | |
activesupport/test/ordered_hash_test.rb | |
248: assert_kind_of ActiveSupport::OrderedHash, flash[:a] | |
railties/test/application/assets_test.rb | |
376: flash[:cool_story] = true | |
railties/test/application/middleware/session_test.rb | |
43: flash[:notice] = "notice" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment