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
Brenda Wallace
1dc44c9edc
Filled in the 3 pending planting specs
2017-02-07 18:29:10 +13:00
Daniel O'Connor
b24514fa82
Look at right attribute
2017-02-06 14:11:44 +10:30
Daniel O'Connor
f0a81d4100
Fix #1182 and improve test coverage
2017-02-06 14:10:40 +10:30
Brenda Wallace
8408fdc845
Moved popular plant plarts calculation into sql
2017-02-06 13:22:18 +13:00
Brenda Wallace
7ba9049908
spec only show active gardens
2017-02-01 18:25:56 +13:00
Brenda Wallace
c82127f1fb
Modify specs for new titles on garden nav buttons
2017-02-01 17:37:03 +13:00
Daniel O'Connor
15106a051c
Merge branch 'dev' into likeable
2017-01-27 12:05:13 +10:30
Daniel O'Connor
43519809f5
Merge branch 'dev' into bw/bar_graphs
2017-01-27 11:54:12 +10:30
Shiny
7731623397
Merge branch 'dev' into likeable
2017-01-27 14:21:53 +13:00