Commit Graph

903 Commits

Author SHA1 Message Date
Jacques Crocker ad38eb53a8 Adding MultiPart Page Rendering scenario. Some refactoring also:
- page step language is a bit more readable
- avoid over using factories. objects created naturally are always preferred!
2010-08-01 14:36:11 -07:00
Jacques Crocker 08c0d270e0 More sane feature indenting. Changing it back to what it was before (dunno why i changed it in the first place :-P) 2010-08-01 13:55:30 -07:00
Jacques Crocker 48c056c723 Cleaning up Page steps and adding layout feature scenario 2010-08-01 13:52:24 -07:00
Jacques Crocker 2b14c9c992 Woohoo! Got a content page to render in the Cucumber tests 2010-08-01 05:00:34 -07:00
Jacques Crocker e31512dd97 Cucumber updates (trying to get render to work.. no luck!) 2010-08-01 04:14:00 -07:00
Jacques Crocker 1e1d276ed4 More factory cleanup and workarounds (factory_girl is being retarded) 2010-08-01 03:55:30 -07:00
Jacques Crocker fe9eae7ea5 Additional cleanup on admin_steps 2010-08-01 03:40:06 -07:00
Jacques Crocker fd6a13858c Cleaning up Cucumber features
- removing tag actions and replacing with background tasks
- adding some sample pickle steps
- added some basic pickle documentation
2010-08-01 03:37:49 -07:00
Jacques Crocker 659c805ea9 Adding a couple factories 2010-08-01 03:05:08 -07:00
Jacques Crocker 46b889b54b Updating Mongoid version 2010-08-01 02:54:51 -07:00
Jacques Crocker d872805101 Fix up the default body thing 2010-08-01 00:50:29 -07:00
Jacques Crocker 925c7fff8d All Page to be passed in a :body attribute
This :body attribute will then be used when creating the default body PagePart
2010-08-01 00:00:06 -07:00
Jacques Crocker 36ab2f0066 Missed a named_scope 2010-07-31 23:49:04 -07:00
Jacques Crocker 07a7cddb2d named_scope => scope 2010-07-31 23:01:38 -07:00
Jacques Crocker 0607be09ab Remove broken envjs and tweak cucumber environment 2010-07-31 01:27:21 -07:00
Jacques Crocker 5d8a0819e9 Tweak features to use labels 2010-07-31 00:44:34 -07:00
Jacques Crocker aa459095af Adding a work in progress render feature 2010-07-31 00:11:44 -07:00
Jacques Crocker cc8ae8e18c Oops, didnt quite understand the "consider requests local" flag.
Reverting it to its previous settings
2010-07-30 23:50:44 -07:00
Jacques Crocker c50d4bce03 Tweak title on Pages.feature 2010-07-30 23:47:04 -07:00
Jacques Crocker 7e53560255 Fixing cucumber configuration so it can handle features in subfolders correctly 2010-07-30 23:46:55 -07:00
Jacques Crocker 04b2011ede Roadmap of stuff I'll get spec'ed out in cucumber 2010-07-30 22:36:34 -07:00
Jacques Crocker cdb5dc22f2 Updating haml in the hope it would fix some stuff (it didnt) 2010-07-30 20:57:57 -07:00
Jacques Crocker ae6ea7c288 Very useful to see errors in dev and test envs 2010-07-30 20:57:32 -07:00
Jacques Crocker d3ef80de62 I think pages auto created for new Sites should by published by default 2010-07-30 19:18:01 -07:00
Jacques Crocker 8a17394223 Updating to the latest Mongoid association syntax
has_many_related => references_many
belongs_to_related => referenced_in
2010-07-30 19:15:24 -07:00
Jacques Crocker d5c2494962 Add instructions for autotest 2010-07-30 17:28:43 -07:00
Jacques Crocker 560923f060 Adding growl glue to Gemfile for better growl alerts with autotest 2010-07-30 17:22:58 -07:00
Jacques Crocker 18dd3a141c no need to escape {{ }} in spec helpers 2010-07-30 17:04:34 -07:00
Jacques Crocker 1f463d715c Adding Pickle, and rearranging cucumber support/ folder a bit 2010-07-30 17:02:29 -07:00
Jacques Crocker 8cddd6cb80 Some more dependency updates (devise and rspec-rails) 2010-07-30 14:34:35 -07:00
Jacques Crocker 2d19e8d557 Remove Rails rc1 deprecation warnings from routes
Was a tough one to track down. But hurray... now I know what .arity means!
2010-07-30 14:27:41 -07:00
Jacques Crocker 9e76af5a07 Tweaking database_cleaner code 2010-07-30 14:04:18 -07:00
Jacques Crocker 6605689c4f Fix Raketask so it uses the right way to load in tasks 2010-07-29 17:13:44 -07:00
dinedine 09ed7ee152 updating gems 2010-07-30 01:39:01 +02:00
Jacques Crocker 071196e97b Upgrading to Rails3 rc 2010-07-29 16:21:48 -07:00
Jacques Crocker 84c9831db6 simplify cucumber runtime settings 2010-07-29 13:26:45 -07:00
Jacques Crocker 42cc763553 Updating dependencies (mongoid beta.15 & carrierwave) 2010-07-29 13:26:36 -07:00
dinedine e74fa1de56 custom error pages (404 for the backend section + 500 for the whole application) + clean up 2010-07-29 12:46:13 +02:00
dinedine 37ec70687b add cucumber scenarii for the cross domain authentication feature 2010-07-28 12:17:56 +02:00
dinedine 54116d9ebb multi site selector with cross domain authentication 2010-07-28 02:42:33 +02:00
Jacques Crocker 4eea9855aa Fixing up Cucumber env (database_cleaner and envjs) 2010-07-26 01:19:42 -07:00
Jacques Crocker 97551877c0 cleaning up whitespace on cucumber 2010-07-26 01:00:01 -07:00
Jacques Crocker 1e79f5bcfd Updating devise to be compatible with latest mongoid 2010-07-26 00:59:02 -07:00
Jacques Crocker c6240dd7eb Upgrading to Mongoid 2.0 beta 11 and fixing specs 2010-07-25 19:49:35 -07:00
Jacques Crocker eb82548452 Fixing up dependencies (httparty/crack) and adding autotest 2010-07-25 18:59:03 -07:00
Jacques Crocker be19ffbbed Updating RSpec to beta 18 (textmate support w00t!). Also checking in Gemfile.lock, as Yehuda will be mad at us if we dont ;-). 2010-07-25 17:42:11 -07:00
Jacques Crocker fcc305b89b Add html safe view for layout's title 2010-07-23 16:58:10 -07:00
Jacques Crocker f566861a10 Fixing up whitespace on all the .haml files 2010-07-23 16:57:38 -07:00
Jacques Crocker 0d7d059736 clean up spacing on a couple haml files 2010-07-23 16:51:54 -07:00
Jacques Crocker 01b73e89fb Fix a html_escaping bug on the content page 2010-07-23 16:51:43 -07:00