Commit Graph

791 Commits

Author SHA1 Message Date
Miles Gould
bb3516b19c Use spork to run spec tests.
Spork initialises rails once and thereafter uses that copy of rails to
run spec tests, leading to much faster test runs. On my machine, testing
index.html.haml takes 2s instead of 7s after this change, and `rake`
takes ~9s instead of ~18s.

Instructions once again taken from
http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html, though I
didn't copy any code for this commit.
2012-09-10 14:54:55 +01:00
Miles Gould
40f111001c Add a "rake watchr" task.
As before, code nicked from
http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html
2012-09-10 14:24:01 +01:00
Miles Gould
1e0545fe30 Use watchr to watch spec, rb, haml and erb files.
- .watchr script mostly nicked from
   http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html
 - I moved the views specs to mirror the location of the files they test
   in /app, in order to keep the .watchr script simple
 - as an added bonus, `rake spec:views` now works :-)
2012-09-10 14:14:45 +01:00
Miles Gould
abcca8071c Add watchr to dev setup.
Watchr is an automatic testing program, which runs relevant tests every
time you save a file.
2012-09-10 14:01:35 +01:00
Miles Gould
31662884ab Only install test gems on dev machines. 2012-09-10 14:01:35 +01:00
Skud
c98c5c0d81 Merge pull request #9 from pozorvlak/add_haml
Port index and application to HAML
2012-09-09 13:42:59 -07:00
Miles Gould
583d075ce5 Port passwords forms to HAML. 2012-09-09 21:26:05 +01:00
Miles Gould
3956d118fa Port index and application to HAML 2012-09-09 21:26:05 +01:00
Skud
aa2769cd9d Merge pull request #8 from pozorvlak/story14footer
Story 14: include links in footer
2012-09-09 13:18:55 -07:00
Miles Gould
b109bdd0fa Story 14: links in footer. 2012-09-09 20:32:09 +01:00
Skud
c7e701ffe8 Merge pull request #7 from pozorvlak/story15description
Story 15: include project description on index page
2012-09-09 12:17:36 -07:00
Miles Gould
bfa783f462 Unify calls to "render" in spec tests. 2012-09-09 20:14:27 +01:00
Miles Gould
5aa3242104 Include project description on index page. 2012-09-09 20:07:07 +01:00
Cesy Avon
1e907d4cb9 Fixing failing unit test and making rspec tests the default 2012-09-07 06:09:48 -07:00
Skud
0d2630ae21 tweaked bundler flags/paths/etc 2012-09-06 18:36:18 +01:00
Skud
2255542af2 re-added this config file 2012-09-06 17:56:59 +01:00
Skud
45b4ef4ded removing the setup_load_paths thing, at least temporarily, to see if this works any better. 2012-09-06 17:48:31 +01:00
Skud
bb82b27cfa added rake to gemfile 2012-09-06 17:31:52 +01:00
Skud
02ce0e8ad0 added .rvmrc as per http://stackoverflow.com/questions/5680341/how-to-load-passenger-from-apache-with-rvm-and-unique-gem-sets 2012-09-06 16:50:13 +01:00
Skud
d0c919acd5 attempting to get gemset working for deploy, see http://stackoverflow.com/questions/5680341/how-to-load-passenger-from-apache-with-rvm-and-unique-gem-sets 2012-09-06 16:47:40 +01:00
Skud
b4d5f75dae added passenger gem for deployment 2012-09-06 16:23:23 +01:00
Skud
c19d98a575 capistrano deployment files. almost working? 2012-09-06 16:10:09 +01:00
Skud
8f9c8e5b76 Merge pull request #5 from Skud/story6login
Story6login
2012-09-04 09:11:36 -07:00
Skud
a1a53de27f added mail settings for development environment 2012-09-04 17:09:57 +01:00
Skud
523d65e82c Merge pull request #4 from Skud/story6login
Story 6 - signup/login - as worked on by me and Cesy and checked over by both of us.
2012-09-04 08:22:26 -07:00
Skud
9792abbf87 made user accounts confirmable by email 2012-09-03 13:16:24 +01:00
Skud
1fe0cda804 generated rdoc 2012-09-03 12:43:11 +01:00
Skud
dcd4f79bdc You can now login using either username or email 2012-09-03 12:38:58 +01:00
Skud
b4ab40a2b3 added failing tests for logging in by username 2012-09-03 12:27:57 +01:00
Skud
ada033ed87 added very basic tests for user model 2012-09-03 12:26:09 +01:00
Skud
321ee98d6e added rspec tests for index.html.erb when logged in 2012-09-03 11:37:55 +01:00
Skud
797846ffef added a simple rspec test for index.html.erb 2012-09-03 11:21:07 +01:00
Skud
89cb3c276f added devise and rspec, set up very basic login/signup links on homepage 2012-09-03 10:49:45 +01:00
Skud
e019bf67dd Merge pull request #3 from cesy/devbasics
I've reviewed this and got it running on my dev environment. Docs on how to make it work on your dev environment (or on our server) are at https://github.com/Growstuff/project/wiki/Development-pre-requisites
2012-08-27 00:24:14 -07:00
Cesy Avon
8190af434f Getting the basic site working 2012-08-23 13:09:52 -07:00
Cesy Avon
72b16c10cf Adding a home page 2012-08-23 12:56:37 -07:00
Cesy Avon
95145f2869 Moving development to top level directory 2012-08-23 10:41:00 -07:00
Skud
9cf506869c Added license (AGPLv3) 2012-08-23 07:38:57 +01:00
Ricky Amianym
cc09f008d2 Created default rails app 2012-08-22 00:09:45 -04:00
Cesy Avon
736589709c Updating readme 2012-08-17 14:12:29 -07:00
Skud
391d1a84ef first commit 2012-08-08 07:14:45 +02:00