Taylor Griffin
d038ac6d8a
test that input value is not affected by auto suggest
2014-08-24 10:53:24 +10:00
Taylor Griffin
ca41f86d93
add validation for case when user input is not in the database
2014-08-17 11:34:00 +10:00
Taylor Griffin
e0d81f5693
improve and abstract auto_suggest api
2014-08-02 22:14:10 +10:00
Taylor Griffin
7aef1264ce
fix edge case where user types in full name of crop and doesn't use autocomplete suggestions
2014-08-02 20:44:19 +10:00
Taylor Griffin
957fa3417d
remove exclusion of assets group gems
2014-08-01 20:27:26 +10:00
Taylor Griffin
c282b3b208
abstract crop suggest autocomplete tests into a shared example
2014-08-01 20:18:28 +10:00
Taylor Griffin
69162cf228
write feature specs for harvesting a crop
2014-08-01 19:38:47 +10:00
Taylor Griffin
1bed42876c
write instructions for using crop_suggest.js in a view
2014-08-01 19:30:30 +10:00
Taylor Griffin
8352807d5a
add presence validation for crop association on harvest
2014-08-01 19:27:51 +10:00
Taylor Griffin
63673112a7
repair failing view tests after implementing crop-suggest on harvest
2014-08-01 19:26:33 +10:00
Taylor Griffin
a49880d4da
make crop_suggest.js more abstract so it works for other resources, not just planting
2014-08-01 19:19:27 +10:00
Taylor Griffin
b4fdf97056
switch to poltergeist-phantomjs from selenium for js webdriver
2014-07-31 14:48:35 +10:00
Taylor Griffin
094d9c509a
write feature spec for create planting functionality
2014-07-29 10:14:20 +10:00
Taylor Griffin
012f37f366
set autoFocus to true for jquery autocomplete
2014-07-29 08:42:35 +10:00
Taylor Griffin
1054f08206
write feature spec for crop-suggest functionality on new planting form
2014-07-28 00:23:13 +10:00
Taylor Griffin
a707d9a2ea
write feature spec that tests crop suggest functionality in new planting form
2014-07-28 00:15:31 +10:00
Taylor Griffin
9d6e787883
set up database_cleaner so js specs will use the same database connection as regular specs
2014-07-28 00:14:06 +10:00
Taylor Griffin
b28ce28703
replace mapbox_map_id and nominatim_user_agent_email with benign values if Rails env is test
2014-07-28 00:12:40 +10:00
Taylor Griffin
ec060b9cc0
fix most view tests that broke after changing new planting form to auto-suggest crop name
2014-07-27 22:40:14 +10:00
Taylor Griffin
948aeb1289
working on getting Selenium tests to pass
2014-07-27 21:04:52 +10:00
Taylor Griffin
1ee79c25f1
set up selenium test but encountering jQuery not defined error
2014-07-27 07:38:56 +10:00
Taylor Griffin
29752e049e
remove stray reference to capybara
2014-07-26 20:19:46 +10:00
Taylor Griffin
8a1dd9d171
implement autocomplete for crop name on new planting form
2014-07-26 20:16:22 +10:00
Taylor Griffin
5df0c9c71a
sketch feature test for planting a crop
2014-07-26 08:36:48 +10:00
Taylor Griffin
b940644ef3
add capybara and selenium gems
2014-07-26 07:58:05 +10:00
Skud
6e48b7d224
Merge branch 'Skud-scinames' into dev
2014-07-22 11:23:38 +10:00
Skud
d558353e4c
Merge branch 'scinames' of github.com:Skud/growstuff into Skud-scinames
...
Conflicts:
CONTRIBUTORS.md
2014-07-22 11:23:08 +10:00
Skud
bac836329c
Merge pull request #376 from Skud/cropbrowse
...
Show most popular crops on "browse crops" page
2014-07-20 19:29:32 +10:00
Skud
846a2c89c5
Tweaked FactoryGirl to use create_list
2014-07-20 19:29:06 +10:00
Skud
a0fc8802b2
Allow selection of crop display order (popularity or alphabetical)
...
Had some trouble with tests; apparently the counter_cache behaves
differently when it starts counting from 0, which meant that some tests
started failing unless you do @crop.reload to refresh the
plantings_count. Weird, but oh well.
2014-07-18 18:37:47 +10:00
Skud
aeb14021f3
Removed unpopular scope (guess it really was unpopular)
2014-07-18 18:17:37 +10:00
Skud
8223025d35
Set default plantings_count to 0 not nil
2014-07-18 18:06:43 +10:00
Skud
573e555bcf
Added unpopular scope to crop
2014-07-18 17:52:11 +10:00
Skud
c9857bf1c8
popular scope for crops
2014-07-18 17:38:15 +10:00
Skud
6c048dec77
Merge pull request #371 from tygriffin/dev
...
Fix for bug when redirecting after password reset
2014-07-18 17:30:14 +10:00
Skud
7184a0d5d5
Added scientific name field tests for edit form
2014-07-18 17:29:10 +10:00
Skud
e63b2fb472
Set up sci names in spec file so fields are shown
2014-07-18 17:27:25 +10:00
Skud
6cbe194615
Merge pull request #373 from Skud/brandfix
...
Make centering specific to footer
2014-07-18 16:47:39 +10:00
Skud
48bc019419
Make centering specific to footer
2014-07-18 16:45:42 +10:00
Skud
aeba4acf0d
Merge pull request #372 from Skud/brandfix
...
fixed broken brand link in navbar
2014-07-18 16:34:59 +10:00
Skud
90c43336ca
fixed broken brand link in navbar
...
the "float:none" was causing trouble; removing it doesn't seem to change
the display at all.
2014-07-18 16:34:07 +10:00
Taylor Griffin
82598e75f8
fix redirect after reset password bug
2014-07-15 22:57:07 +10:00
Taylor Griffin
3509b6e403
Merge branch 'master' of https://github.com/Growstuff/growstuff into dev
2014-07-15 11:52:00 +10:00
Skud
0fd10643ce
Merge pull request #369 from sabreuse/dev
...
Fix an issue with menu item layout at small screen sizes
2014-07-14 12:00:59 +10:00
Amy Hendrix
10af60f30d
Cleanup crops.js.erb
2014-07-13 21:46:33 -04:00
Amy Hendrix
191363402a
Replace crops.js.erb
2014-07-13 21:45:19 -04:00
Amy Hendrix
0714c2a38c
Menu items should be block, not inline-block, at mobile screen sizes
2014-07-13 21:30:08 -04:00
Amy Hendrix
bf1821f8ce
Force bootstrap overrides into sync with upstream/dev
2014-07-13 21:26:07 -04:00
Amy Hendrix
c2435cfb8a
catch up with upstream
2014-07-13 21:08:44 -04:00
Taylor Griffin
ded464ad4c
removed call to for debugging
2014-07-13 18:00:46 +10:00