Run options: include {:line_numbers=>[83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108]} .F... Failures: 1) parsing a test::unit error the error behaves like an error text Failure/Error: Unable to find matching line from backtrace expected: "1) Error:\ntest: a user should redirect to admin login when visiting admin subdomain. (UserFlowsTest):\nNameError: undefined local variable or method `root_pathh' for #\n test/integration/user_flows_test.rb:8:in `block (2 levels) in '\n" got: "1) Error:\ntest: a user should redirect to admin login when visiting admin subdomain. (UserFlowsTest):\nNameError: undefined local variable or method `root_pathh' for #\n test/integration/user_flows_test.rb:8:in `block (2 levels) in '" (using ==) Diff: Shared Example Group: "an error" called from spec/integration_spec.rb:95 # spec/integration_spec.rb:12:in `block (3 levels) in ' Finished in 0.00464 seconds 5 examples, 1 failure Failed examples: rspec spec/integration_spec.rb:12 # parsing a test::unit error the error behaves like an error text