Commit Graph

71 Commits

Author SHA1 Message Date
Tom MacWright
1bfce3aa50 Use a real connection for tests 2012-12-04 12:39:40 -05:00
Tom MacWright
60ba29518a Test XML decode 2012-12-04 11:57:21 -05:00
John Firebaugh
ddd40e190e Fix spec file case 2012-12-04 11:51:03 -05:00
John Firebaugh
b4707c3a1f Mirror main directory structure in specs 2012-12-04 09:50:07 -05:00
John Firebaugh
9bf208abae Clean up specs 2012-12-03 18:46:02 -05:00
John Firebaugh
0a1e0bdfe4 History#reset 2012-12-03 18:37:41 -05:00
John Firebaugh
8a8d6fae32 Move responsibility for dispatching change event to history 2012-12-03 18:37:41 -05:00
John Firebaugh
e93c9624d8 Convert History to module pattern
There is only ever one History, so memory use is not a
concern.
2012-12-03 18:37:41 -05:00
John Firebaugh
0370b487e3 Inject history dependency in map 2012-12-03 18:37:41 -05:00
Tom MacWright
7d1a94ae5c Include typeahead in tests 2012-12-03 17:09:42 -05:00
John Firebaugh
c1be31912f Fix specs 2012-12-03 17:00:06 -05:00
John Firebaugh
41548c25bf Restore map update event (fixes #167) 2012-12-03 15:59:05 -05:00
John Firebaugh
f130c325ae Updated .travis.yml for mocha 2012-12-03 15:36:43 -05:00
John Firebaugh
78c9b645cd Fix indent 2012-12-03 15:18:41 -05:00
John Firebaugh
c7fa59661a Convert tests to mocha+chai+sinon 2012-12-03 15:11:49 -05:00
Tom MacWright
f822830b79 Test styleclasses 2012-12-03 13:01:36 -05:00
Tom MacWright
71e0e9d96a Test friendlyName 2012-12-03 12:35:59 -05:00
Tom MacWright
2d2778aea0 Test out way rep as well 2012-12-03 12:31:02 -05:00
Tom MacWright
a4e480a3ab Test oauth 2012-12-03 12:28:11 -05:00
Tom MacWright
24422c61e6 Test background and style 2012-12-03 12:21:37 -05:00
Tom MacWright
1b0c0aeaa3 More specs, more tests 2012-12-03 12:11:00 -05:00
John Firebaugh
26ef972199 Restore map.surface
Fixes #166
2012-12-03 10:49:54 -05:00
John Firebaugh
65357a09c0 Travis CI setup
Specs are run with PhantomJS via phantom-jasmine:
https://github.com/jcarver989/phantom-jasmine
2012-12-03 10:14:00 -05:00
John Firebaugh
fbf03afb43 Fix XML specs 2012-12-03 09:15:10 -05:00
John Firebaugh
2b1559bb96 d3 style map 2012-12-02 20:36:14 -05:00
John Firebaugh
aeb288fe4e Test/fix hash 2012-12-02 20:33:42 -05:00
John Firebaugh
28f8275526 Eliminate failing tile requests in specs 2012-12-01 14:56:16 -08:00
John Firebaugh
bbdd4a7bcb d3 style map.extent() 2012-12-01 14:37:04 -08:00
John Firebaugh
8cfd0be2f8 d3 style map.zoom() 2012-12-01 14:30:24 -08:00
John Firebaugh
94b2cd5e2d Fix file case and indent in specs 2012-12-01 08:49:08 -08:00
John Firebaugh
16c6cbd08b Rename tiles to background, make more d3ish 2012-12-01 08:45:11 -08:00
John Firebaugh
45270b55d2 d3 naming convention 2012-12-01 08:21:02 -08:00
John Firebaugh
96af626bd7 Add d3.selection.prototype.size 2012-12-01 08:16:50 -08:00
Tom MacWright
85b757db0b Add benches, more notes 2012-11-30 16:23:36 -05:00
John Firebaugh
852720bc85 Fix spec 2012-11-30 07:21:29 -08:00
John Firebaugh
23f435759e Fix specs 2012-11-30 07:14:15 -08:00
Tom MacWright
81a9349e82 Patch up tests, go to simpler map api 2012-11-29 15:36:33 -05:00
John Firebaugh
75f8711e64 Add iD.{Node,Way,Relation} constructors
Even if we don't want subclasses, they are handy for
assigning the right type and an appropriate ID.
2012-11-26 22:00:39 -04:00
John Firebaugh
cc7328d1c9 Extract Entity#created and Entity#modified 2012-11-26 21:48:40 -04:00
John Firebaugh
447b89fa01 Entity specs 2012-11-26 21:24:26 -04:00
John Firebaugh
21ef3e4ce1 Flag accidental mutations in tests 2012-11-26 21:08:33 -04:00
Tom MacWright
1bb6915bad Expand map tests 2012-11-26 18:40:17 -05:00
Tom MacWright
2ec9f4c02f Test graph 2012-11-26 17:56:06 -05:00
Tom MacWright
704bd1af2e Test XML formatter as well 2012-11-26 17:46:04 -05:00
Tom MacWright
224420883a Update happen 2012-11-26 17:40:46 -05:00
Tom MacWright
19b62e8f47 Fix tests 2012-11-26 17:39:16 -05:00
Tom MacWright
3f23c0e43a Merge pull request #104 from jfirebaugh/rename
Rename concepts
2012-11-25 13:57:08 -08:00
John Firebaugh
f73f1a5429 Add Inspector specs 2012-11-25 16:21:52 -04:00
John Firebaugh
eac425f7e3 Rename concepts
action -> mode
operation -> action
go -> enter
operate -> perform
2012-11-25 14:06:23 -04:00
John Firebaugh
85ed5bb671 Fix specs 2012-11-24 11:30:27 -04:00