Commit graph

39 commits

Author SHA1 Message Date
Reinier Balt
c9be43b2c8 add tests for #886. 2010-07-29 18:06:30 +02:00
Eric Allen
a022f449c1 Fixed failing tests
- Some fixtures added by Erik Ordway broke tests
- message:// links had an edge case I broke with 68701ada
- One test had a hard-coded id that changed

Closes #1019
2010-04-09 09:34:57 -04: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
a256388323 Need to stub out destroyed? method in Rails 2.3.5 2009-12-08 13:36:57 -05:00
Eric Allen
6d3770c5fb Eliminated use of scenarios plugin
It doesn't work on Rails 2.3.5
2009-12-08 13:34:06 -05:00
Eric Allen
7ef91403f1 Eliminate all last traces of apply_behavior 2009-11-04 22:06:24 -05: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
Eric Allen
96762630f2 Fix failing specs. All specs and tests pass now. 2009-05-04 00:07:08 -04:00
Eric Allen
bbf3e95b21 Pre-filling default tags makes these specs wrong and useless 2009-05-03 23:23:01 -04:00
Eric Allen
42bea2490b Fix #592 be able to set default tags for a project. Default tags can now be specified when creating or editing a project, and they will be applied to any new todos created in that project. 2009-04-15 21:54:31 -04:00
Eric Allen
dbeb793214 Support dispatching emailed-in todos based on To: field as well as From: field. Setting configured in site.yml. 2009-03-29 19:44:43 -04:00
Reinier Balt
985aca1cfb fix failing spec 2009-03-01 22:18:03 +01:00
Reinier Balt
00e1d2994b Manually added patch from piglop. Thanks piglop!
Some specs were removed by 07426ebe54 but they only needed a little
change. Now Todo#update_state_from_project is tested again.
2009-01-28 10:11:15 +01:00
Reinier Balt
07426ebe54 a previous commit introduced a bug where hiding a project did not hide the todos in it. Fixes #832 2009-01-24 22:13:19 +01:00
Reinier Balt
8ff7afb88c manual add fix of piglop to prevent todos from staying hidden forever 2009-01-21 13:36:26 +01:00
bsag
330c142172 Removed user specs relating to users in taggings table. User removed from taggings in migration 045. 2009-01-11 16:13:06 +00:00
Eric Allen
b86c7341ff Change mobile login form to post to proper URL for OpenID login. Resolves #810. 2009-01-02 02:22:06 -05:00
Eric Allen
2eb9151d2e Fix failing specs 2009-01-02 01:54:56 -05:00
Luke Melia
35ae5fc431 Next step in upgrading Tracks to Rails 2.2. Some highlights:
* Ran rake rails:update
* Added old actionwebservice framework
* Updated RSpec and RSpec-Rails
* Removed asset_packager plugin (not compatible, Scott no longer maintaining), and replaced with bundle_fu. See the bundle_fu README for more info.
* Hacks to UJS and ARTS plugins, which are no longer supported. Probably should move off both UJS and RJS.
* Hack to flashobject_helper plugin (upgrade to Rails 2.2-compatible version if/when it comes out.)
* Hack to skinny-spec plugin, for Rails 2.2 compatibility. Should check for official release.
* Hacks to resource_feeder plugin, for Rails 2.2 compatibility. Should check for official release (not likely) or move off it.
* Addressed some deprecation warnings. More to come.
* My mobile mime type hackery is no longer necessary with new Rails features. Yay!
* Updated environment.rb.tmpl with changes

TODO:
* Restore view specs marked pending
* Fix failing integration tests.
* Try selenium tests.
* Investigate OpenID support.
* Address deprecation warnings.
* Consider moving parts of environment.rb to initializers
* Address annoying config.gem warning about highline gem
2008-11-30 00:34:15 -05:00
Eric Allen
05f21ebba2 Spec and fix bug #776 by using auto_link instead of my dumb regex 2008-10-03 10:19:41 -04:00
Eric Allen
ba9a9370cc Merge branch 'timezones' of git://github.com/epall/tracks into master.
Re-wrote all Date-related code to use Datetimes, created a migration to get rid of all date columns in the database, and got rid of Time.now calls that were not time zone-aware. Lots of time zone goodness!
2008-09-21 18:24:12 -07:00
Eric Allen
3647d79587 Overhaul of Time.now stuff because Time.now is unaware of time zones. Need to use Time.zone.now (Time.now.utc works fine when dealing with the database, since it is *always* in UTC) 2008-09-21 18:13:21 -07:00
Eric Allen
f52a2eafa8 A few fixes after more thorough review. 2008-09-21 18:13:21 -07:00
Eric Allen
3a21739be9 Merge branch 'mailer' of git://github.com/epall/tracks into master 2008-09-21 09:46:31 -07:00
Eric Allen
3006f73cb7 Bugfix: active_contexts wasn't actually working. 2008-09-21 09:32:11 -07:00
Eric Allen
2c3b3d9d69 Fixed bug where todos got pulled out of tickler too early if user's timezone was behind UTC. 2008-09-06 19:47:58 -07:00
Simon Rozet
f446effcc5 update user scenario to work with sqlite3 2008-06-24 17:11:48 +02:00
Simon Rozet
e8d1ba2633 refactored context model spec to be a bit more 'rspec-ish' and to use skinny_spec and scenarios 2008-06-23 21:39:16 +02:00
Simon Rozet
d62cbf4592 make custom spec macro `it_should_validate_length_of' accepts a message argument 2008-06-23 21:38:41 +02:00
Simon Rozet
2672c1e2b7 crreate some basic scenarios 2008-06-23 21:38:04 +02:00
Simon Rozet
b13df20630 Install the `scenarios' plugin and require it in spec_helper
It is IMO a great alternative to fixtures.
See http://github.com/aiwilliams/scenarios/tree/master and further commits
for more information.
2008-06-23 21:34:21 +02:00
Simon Rozet
6d54923e2f Spec for `todo' model 2008-06-23 12:28:38 +02:00
Simon Rozet
44b7f56c23 Spec for user model 2008-06-23 12:28:03 +02:00
Simon Rozet
0376067cf4 Install the `skinny_spec' plugin.
It's basically a set of rspec macro allowing you to write thing such as
`it_should_find_and_assign :users'.
See <http://github.com/rsl/skinny_spec/tree/master> for more informations.
It's recommended to install the `ruby2ruby' gem to have nicer error messages, but
it is not required to work.

@@ update README_FOR_DEVELOPERS accordingly.
2008-06-23 10:03:56 +02:00
Simon Rozet
60b986a5b9 fix a failing spec for context model 2008-06-23 10:03:55 +02:00
bsag
eb53865ff9 Context model specs completed. Using fixtures for some examples currently, but might convert to mocks in future. Specs now offer same coverage as Test::Unit tests for Context model. 2008-06-23 10:02:17 +02:00
bsag
1dc03195d0 Initial work on specs for models - Context model spec started. 2008-06-23 10:02:17 +02:00
Luke Melia
2c09db45c5 Added Rspec and Webrat plugins and started porting Selenium on Rails tests to Rspec Plain Text Stories driving Webrat driving Selenium. 2008-06-23 10:02:17 +02:00