Commit Graph

26 Commits

Author SHA1 Message Date
Rico Sta. Cruz 511de900ba
Formatting updates (#2133)
- Update some sheets which have very long sections
- Remove `layout: 2017/sheet` (everything has the same layout now)
- Remove outdated sheets
2024-04-03 18:30:24 +11:00
Yudai Takada dc91d7f64e
Remove a case that is not negative examples in the capybara sheet (#2122)
The above case is a new Bad case added by https://github.com/rstacruz/cheatsheets/pull/1798 . It is designated as Bad due to performance issues, but it is not actually a Negative example. In practice, the following would be the same test:

```ruby
expect(page).to have_button('Save')
!expect(page).to have_button('Save')
```

This is not an example that will appear on the capybara cheat sheet, because it is a problem with how RSpec is written. I think it should be removed because it creates confusion.
2024-03-22 08:53:55 +11:00
Allison Browne db559f8898
Remove bad negative example from capybara sheet (#1798)
Removes the bad negative example and adds a new one
that still has bad performance. It use to be that `not_to` would wait
in a non-performant way:
https://www.cloudbees.com/blog/faster-rails-tests 
but now it it no longer waits: 
https://github.com/rubocop/rubocop-rspec/issues/378#issuecomment-463250177
2023-03-14 14:09:31 +11:00
not-a-patch 0d16abcb6a
Include have_current_path into expectations (#1938) 2023-01-18 22:46:59 +11:00
Adam Leskis 71a0a6582a
update some links from http to https where supported (#1647) 2022-11-01 14:29:32 +11:00
Rico Sta. Cruz 360bb87287 Cleanup: update timestamps of files 2020-07-04 23:33:09 +10:00
Rico Sta. Cruz e961eb3a50
Update capybara.md 2020-06-13 10:12:49 +10:00
not-a-patch 912afcd792
Update capybara.md
Capybara renamed click to click_on

From their history: 

Version 0.4.0.rc
Session#click has been renamed click_link_or_button and the old click has been deprecated

Version 0.4.1
New click_on alias for click_link_or_button, shorter yet unambiguous. [Jonas Nicklas]
2020-04-17 09:57:01 +01:00
Helio S. Junior f4070993d6
Fix unexpected quotes closing 2019-09-12 13:36:31 -03:00
Rico Sta. Cruz 157fa66931
Tag some more cool cheatsheets as 'featurable' 2017-10-30 00:19:11 +08:00
Rico Sta. Cruz f59aaf2689
Add search footer 2017-08-31 17:22:58 +08:00
Rico Sta. Cruz 25c8da12f9
Fix syntax highlighting for ruby 2017-08-31 01:46:05 +08:00
Rico Sta. Cruz 93765e827b
capybara: update, but it still sucks 2017-08-31 01:43:19 +08:00
Rico Sta. Cruz 29ebaa119c Categorize even more pages 2015-11-24 16:06:06 +11:00
Rico Sta. Cruz d0a947151e Remove 'layout: default' 2015-11-24 15:30:42 +11:00
Rico Sta. Cruz b1fe163f31 capybara: add poltergeist 2015-11-17 21:25:47 +11:00
Rico Sta. Cruz a57d0ea90d Update 2015-07-17 04:19:25 +08:00
Rico Sta. Cruz d3f127aa71 Update capybara 2015-06-10 20:26:00 +08:00
Rico Sta. Cruz 5d8acd4cf6 Update capybara again 2015-06-10 20:25:08 +08:00
Rico Sta. Cruz 1bb387928c Update capybara 2015-06-10 20:24:12 +08:00
Rico Sta. Cruz 5e30301acd Update stuff 2015-05-06 00:00:33 +08:00
Rico Sta. Cruz 74c9c21796 gc
Update
2015-01-16 12:02:16 +08:00
Rico Sta. Cruz db1ce5f0fe Formatting updates. 2014-10-23 19:43:16 +08:00
Rico Sta. Cruz 85c46a3923 Jekyllization. 2013-10-14 10:36:58 +08:00
Rico Sta. Cruz 171caaa7cf Update. 2013-08-24 15:43:10 +08:00
Rico Sta. Cruz 85cc0fe827 Hello. 2012-03-16 14:15:50 +08:00