Commit graph

30 commits

Author SHA1 Message Date
Reinier Balt
e58379e81f This fixes failing tests when the timezone is different than utc
There were several problems:
* Time.now returns the systems time, not the users time
* fixtures do not translate dates from timezone to utc, but stores the
  date verbatim
* calling a controller will set the timezone to the preference of the
  current_user. So it could be changed while you do not realize this. I
  fixed the failing test, but problems could be elsewhere
2015-08-05 11:50:33 +02:00
Dan Rice
ea0d40060a Remove support for deprecated password-hashing algorithm
* Remove all methods implementing and checking for the old algorithm
* Document a pre-upgrade step to check for remaining obsolete passwords
* Remove config.salt
2014-11-15 10:28:29 -05:00
Dan Rice
78dc56c37c Remove obsolete configuration values 2014-07-07 22:15:05 -04:00
Dan Rice
9125355313 Sync boilerplate with Rails 4.1.4 2014-07-07 21:25:24 -04:00
Dan Rice
d171e13e24 Bring a few details in line with Rails 4.1 2014-06-19 12:33:38 -04:00
Reinier Balt
65859807ea update configs for rails 4 2013-05-11 23:12:20 +02:00
Reinier Balt
86afd42148 Work in progress: has_many_polymorphs does not work with rails 3.2 because of intrusive changes in rails internals. I think we need to rip out this dependency... 2012-04-30 13:56:34 +02:00
Reinier Balt
a83c8b3f92 initial upgrade to rails 3.2.3 2012-04-30 13:56:33 +02:00
Reinier Balt
d9db33bc0d fix #990 by moving rsel scripts to cucumber and removing selenium-on-rails plugin
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-14 11:29:50 +02:00
Matt Rogers
f13e4d5b85 Remove the config.gem lines from the environment files
When using Bundler to resolve your gem dependencies, you do not need
these lines in the environment files.
2011-08-31 22:26:38 -05:00
Eric Allen
7f43015cd3 We're not using RSpec 2.x 2011-02-28 23:20:02 -08:00
Reinier Balt
6443adac78 fix stories_test to run again. Using ActiveRecordStore for session aparently did not work here 2011-02-04 16:23:47 +01:00
Reinier Balt
632c0e7255 fix all tests 2011-02-03 19:30:48 +01:00
Reinier Balt
a832417c59 migrate toggle_check and destroy and defer and get the functional tests running again 2011-02-03 18:19:17 +01:00
Reinier Balt
f90d0d8eb9 fix rspec version because spec-rails now depends on rails3 2011-02-03 18:18:35 +01:00
Marcus Ilgner
330d6e008c Corrected reference to factory_girl gem 2011-01-30 05:43:50 +08:00
Reinier Balt
e2841e31eb finish upgrade of selenium
these were manual cherry-picks of the rails upgrade work.
2010-07-27 23:32:22 +02:00
Reinier Balt
4620349db1 update cucumber 2010-01-13 20:39:28 +01:00
Eric Allen
50e80d2673 Update RSpec situation. Should fix #960 2010-01-01 22:39:00 -05:00
Eric Allen
6181d42072 A few tweaks to get tests running 2009-12-07 18:29:57 -05:00
Reinier Balt
7a7862221d get tests running again with zentest >= 4.0.0 2009-06-02 21:22:50 +02:00
Reinier Balt
2073f84cd8 update cucumber and refactor some of the stories
inspired by the railscasts about cucumber. Also fix a problem with ZenTest on case sensitive platforms
2009-05-22 23:14:40 +02:00
Reinier Balt
0a23405d4b fix #897. The dependency on rspec added to environment.rb. Rake always loads the rspec task from /lib/tasks, so the gem is required for all environments.
this is ugly :-(
2009-05-13 22:10:15 +02:00
Reinier Balt
b990f8a015 make project settings editable from the project page
We're using the edit form instead of several separate fields to edit settings
2009-04-18 23:50:12 +02:00
Reinier Balt
058079a0a7 remove rspec rspec-rails and webrat frozen gem and add them using config.gem 2009-04-13 22:23:32 +02:00
Reinier Balt
015dc84f3b add config.gem lines for test so rake gems works for setting up test environment 2009-04-10 16:39:59 +02:00
Eric Allen
2ee84b8162 Move site-specific configuration out of environment.rb into a YAML file. This allows us to ship environment.rb with Tracks. Fixes #813. 2009-02-01 14:47:05 -05:00
Eric Allen
b97fc2d958 Fixed failing integration tests by using MemoryStore instead of CookieStore for tests. See http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/5519ca7fd4dde3c1. Wohooo passing tests! 2009-01-26 12:36:12 -05:00
Luke Melia
901a58f8a3 Upgraded to Rails 2.1. This can have wide ranging consequences, so please help track down any issues introduced by the upgrade. Requires environment.rb modifications.
Changes you will need to make:

 * In your environment.rb, you will need to update references to a few files per environment.rb.tmpl
 * In your environment.rb, you will need to specify the local time zone of the computer that is running your Tracks install.

Other notes on my changes:

 * Modified our code to take advantage of Rails 2.1's slick time zone support.
 * Upgraded will_paginate for compatibility
 * Hacked the Selenium on Rails plugin, which has not been updated in some time and does not support Rails 2.1
 * Verified that all tests pass on my machine, including Selenium tests -- I'd like confirmation from others, too.
2008-06-17 01:13:25 -04:00
bsag
4cbf5a34d3 Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
2008-05-20 21:28:26 +01:00
Renamed from tracks/config/environments/test.rb (Browse further)