Harry Brodsky
78f4b3dbf3
Update irregular crop pluralizations
2017-03-30 19:15:48 +13:00
Brenda Wallace
b8ea6116d4
Add photos to plantings to make them interesting in the spec
2017-03-29 10:46:15 +13:00
Brenda Wallace
2521e52d71
Remove test called to Planting.interesting(...)
...
Interesting plantings with no photos is not used in the code.
The method was converted to a scope.
2017-03-29 08:28:58 +13:00
Brenda Wallace
d44f9ef4e9
Removed assignment of useless variable
2017-03-29 08:21:34 +13:00
Brenda Wallace
998befb30f
Limited plantings to member's own garden, and approved crops
2017-03-16 15:29:25 +13:00
Brenda Wallace
a93c4e9fb8
Yaml file clean up
2017-03-12 10:38:39 +13:00
Shiny
418c5fdcd0
Merge branch 'dev' into spec-fixups
2017-03-05 21:11:06 +13:00
Brenda Wallace
322f28eaa6
bugfix in some spec expectations
2017-03-05 00:36:10 +13:00
Brenda Wallace
1e0ccd72a2
Added missing semicolons to js files
2017-03-04 17:06:29 +13:00
Shiny
542cc1f546
Merge branch 'dev' into bw/unneeded-percent-q
2017-03-02 21:02:28 +13:00
Brenda Wallace
8c5db9229a
fixed forced octal
2017-03-01 17:49:42 +13:00
Brenda Wallace
85a4490740
Rubocop fix for unneeded %Q
2017-03-01 17:35:06 +13:00
Brenda Wallace
4eda3a506b
Fix up csv importer, should make duplicates
...
Now matches the old functionality.
2017-02-24 20:08:01 +13:00
Brenda Wallace
5abc1fb80e
duplicate alt name spec (and adding to crop)
2017-02-23 15:35:29 +13:00
Brenda Wallace
0a840abc58
Added specs for duplicate sci names
2017-02-23 15:35:29 +13:00
Brenda Wallace
968e9bd3ad
Rubocop fix up in spec
2017-02-23 15:35:29 +13:00
Brenda Wallace
ddd0e0c285
Fixed typo in string causing spec to fail
2017-02-23 15:35:29 +13:00
Brenda Wallace
00952d5ef6
Updating more specs for new csv importer interface
2017-02-23 15:35:29 +13:00
Brenda Wallace
a0e1d8b11d
Update scientific name model spec
2017-02-23 15:35:29 +13:00
Brenda Wallace
3d7f2ec20c
Updating specs to match new csv importer
2017-02-23 15:35:29 +13:00
Brenda Wallace
2f9961651f
Call new csv importer from specs
2017-02-23 15:35:29 +13:00
Shiny
b8884beb2f
Merge branch 'dev' into test_runners
2017-02-21 11:31:02 +13:00
pozorvlak
837934167b
Merge branch 'dev' into harvests-controller
2017-02-20 13:02:58 +00:00
Brenda Wallace
0f523381f0
DRY the harvest controller
2017-02-20 09:58:36 +13:00
Brenda Wallace
ae3752e021
DefWithParentheses fixup
2017-02-19 16:19:16 +13:00
Brenda Wallace
50624fb2cb
Style/MultilineBlockLayout fix
2017-02-19 16:17:03 +13:00
Brenda Wallace
818466a142
MethodCallWithoutArgsParentheses fixup
2017-02-19 16:17:03 +13:00
Brenda Wallace
e184503caa
Fix up to match rubocop's MultilineMethodCallBraceLayout recommendation
2017-02-19 16:17:03 +13:00
Brenda Wallace
d00f743c47
rubocop fix up on spec
2017-02-17 16:00:11 +13:00
Brenda Wallace
d15eb32133
Added some utf8, kōrero mai (te reo māori)
2017-02-17 09:47:12 +13:00
Brenda Wallace
ae398f1a63
Spec checks you can't change post id in comments#update
2017-02-17 09:20:15 +13:00
Brenda Wallace
cd3cee5d5f
DRY comments controller and add more spec scenarios
2017-02-17 09:14:01 +13:00
Miles Gould
9030e5b978
Merge branch 'dev' into test_runners
2017-02-16 13:31:39 +00:00
Miles Gould
738c0d4e08
Store spec failures, for rspec --only-failures
...
The list of failing tests is stored in tmp/examples.txt, which is
already gitignored.
2017-02-16 13:24:50 +00:00
Miles Gould
fbc203ca0d
Make Jasmine tests pass in CI
...
One test relied on reading the innerHTML attribute of an SVGElement
object; this worked in the browser, but not when run with
`rake jasmine:ci`. I've changed the test to use the `textContent`
attribute instead, which works in both places.
2017-02-16 13:01:40 +00:00
Miles Gould
c83bfc101e
Allow console.log in Jasmine tests, for debugging
2017-02-16 13:00:34 +00:00
Daniel O'Connor
e06e002282
Merge pull request #1218 from Br3nda/UnneededInterpolation
...
Fix up all UnneededInterpolation
2017-02-16 10:29:19 +10:30
Brenda Wallace
2b03381a24
Removed trailing commas
2017-02-15 23:33:06 +00:00
Brenda Wallace
a46b8ebe76
Fix up all UnneededInterpolation
2017-02-16 12:26:47 +13:00
Brenda Wallace
6d0a7ebc8f
Only show plantings with overlapping date ranges on harvest options
2017-02-13 20:41:43 +13:00
Brenda Wallace
8d24ffbffb
spec for harvesting from a planting
2017-02-13 17:21:11 +13:00
Mackenzie
b9edd2f89b
Merge pull request #1203 from Br3nda/access
...
Added cancan ability for likes (and DRY-ed)
2017-02-12 10:20:03 -05:00
Brenda Wallace
4dd99f54db
Removed deprecation notice from controller spec
2017-02-12 20:55:06 +13:00
Brenda Wallace
b8e06a1d1d
Specs for deleting someone else's like
2017-02-12 20:50:50 +13:00
Brenda Wallace
f7b8113af1
Fixed spec, now requests json response
2017-02-12 20:36:24 +13:00
Brenda Wallace
b0394d1028
checks json returned by likes controller
2017-02-12 17:42:24 +13:00
Brenda Wallace
865f323f97
controller specs for likes controller
2017-02-12 15:35:15 +13:00
Brenda Wallace
be2426c99f
Use timezone when creating dates
2017-02-10 21:53:18 +13:00
Miles Gould
b8c0882642
Tag ElasticSearch-related tests
2017-02-07 14:27:14 +00:00
Miles Gould
cc54dc54b4
Only build ElasticSearch index for ES tests
2017-02-07 14:27:14 +00:00