Timeline for RSpec/Capybara tests
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 18, 2015 at 17:31 | history | edited | tokland | CC BY-SA 3.0 |
deleted 40 characters in body
|
Dec 5, 2014 at 2:09 | comment | added | Kingsley Simon |
prefer to define the route with simple readable path. Good mention on the before . Thanks
|
|
Dec 4, 2014 at 12:31 | history | edited | tokland | CC BY-SA 3.0 |
added 11 characters in body
|
Dec 4, 2014 at 0:57 | comment | added | Flambino |
I agree with your use of before . And I think it's a fair point to use "/" instead of root_path , though I wouldn't insist on it. I'd say using route helpers are fair abstraction, esp. if you have good routing specs already. The root path is a bit special, of course, as it's always "/" - no names or words to complicate things. Anyway, if simple, readable path are a feature in your app, it's probably good to hand-write them. But using the helpers is just fine too.
|
|
Dec 3, 2014 at 19:53 | history | edited | tokland | CC BY-SA 3.0 |
deleted 35 characters in body
|
Dec 3, 2014 at 19:46 | history | edited | tokland | CC BY-SA 3.0 |
added 7 characters in body
|
Dec 3, 2014 at 19:34 | history | edited | tokland | CC BY-SA 3.0 |
deleted 1 character in body
|
Dec 3, 2014 at 17:38 | history | edited | tokland | CC BY-SA 3.0 |
deleted 107 characters in body
|
Dec 3, 2014 at 17:29 | history | edited | tokland | CC BY-SA 3.0 |
deleted 1856 characters in body
|
Dec 3, 2014 at 17:20 | history | answered | tokland | CC BY-SA 3.0 |