1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
Commit graph

9 commits

Author SHA1 Message Date
Andrew Haines
3d07cb387b Prevent leaking view contexts between tests 2013-01-19 21:55:57 +00:00
Andrew Haines
2bfa25a5ad Revamp specs
* Use the new `expect().to` syntax
* Avoid general fixtures by minimizing usage of `let` and `subject`
* Define as few support classes as possible, and use them for name
  lookup only - all behavior is introduced by stubbing
2013-01-17 12:47:25 +00:00
Andrew Haines
fa2d5274a6 More integration specs 2013-01-16 16:30:53 +00:00
Andrew Haines
d528fffe78 Rails 3.0 compatibility 2013-01-12 16:34:55 +00:00
Andrew Haines
d98f623938 Fix rbx 2012-11-16 11:55:34 +00:00
Andrew Haines
067ecd3153 Exorcise poltergeist 2012-11-16 10:41:50 +00:00
Andrew Haines
21418f1890 Make integration spec failures more descriptive 2012-11-16 10:11:53 +00:00
Andrew Haines
cfbc3888e9 Add mailer specs
Closes #316
2012-11-13 20:32:29 +00:00
Andrew Haines
cef5e628be Integration tests for all environments
The problem with using Cucumber is that it runs the dummy app in the
test environment. Because the view context behaviour is dependent on
environment, we need to test it running on an actual server.
2012-11-12 19:59:43 +00:00