Commit Graph

1061 Commits

Author SHA1 Message Date
Cesy
5a12b47c7c Revert "Revert "Fixing relative caching of post summary on homepage, fixed #789"" 2015-08-06 12:37:59 +01:00
Cesy
1ec188c793 Revert "Fixing relative caching of post summary on homepage, fixed #789" 2015-08-06 12:36:21 +01:00
Cesy
438b2444df Merge pull request #790 from cesy/homepagetests
Fixing relative caching of post summary on homepage, fixed #789
2015-08-06 12:34:15 +01:00
Cesy
0681fac406 Correcting view test for posts 2015-08-06 09:51:14 +00:00
Cesy
9682300b85 Merge pull request #785 from sha1sum/notification_pagination
Resolved #562 - Pagination of notifications.
2015-08-06 10:40:02 +01:00
Cesy
5b19d236d0 Merge pull request #783 from pozorvlak/remove_last_count_calls
Replace the last few .count and .length calls with .size where possible
2015-08-05 18:57:04 +01:00
Anthony Atkinson
919c25ca67 Fixing notifications index view spec to be compatible with new Kaminari pagination. 2015-08-01 11:58:13 -04:00
Anthony Atkinson
29f3cc3238 Updating new test additions and edits to features/harvests with Rspec3 Ruby2 syntax. 2015-08-01 11:39:51 -04:00
Anthony Atkinson
bc9a025788 Merge branch 'dev' into notification_pagination 2015-08-01 11:38:01 -04:00
pozorvlak
de63fdc952 Merge pull request #786 from sha1sum/open_service_in_footer
Resolves #617 - Open Service graphic link in footer
2015-07-28 22:00:19 +01:00
Anthony Atkinson
9d62c012f1 Resolves #617 - Open Service graphic link in footer 2015-07-25 13:34:16 -04:00
Anthony Atkinson
cbb50df8d0 Resolved #562 - Pagination of notifications. 2015-07-25 13:18:30 -04:00
Miles Gould
8873986562 Merge branch 'pr/779' into dev 2015-07-24 11:05:21 +01:00
Miles Gould
f29c0ad085 Replace .length calls with .size 2015-07-23 23:21:55 +01:00
Miles Gould
96b0198d41 Replace remaining calls to count() with size()
The couple that aren't removed are required: for instance, there's a
Crop.count method, but no Crop.size method.
2015-07-23 23:05:39 +01:00
Miles Gould
48649d1986 Clarify comment on an order-dependent feature test 2015-07-23 22:00:06 +01:00
Miles Gould
9e2e93b544 Remove the last few .shoulds from spec/features 2015-07-23 21:57:22 +01:00
Miles Gould
1f0f55dc81 Merge branch 'pr/781' into dev 2015-07-23 19:55:57 +01:00
Anthony Atkinson
5a33b2b754 Creating a directory for gardens under spec/features (to stay consistent with other features) and moving the creation specs from spec/gardens_spec.rb to spec/gardens/adding_gardens_spec.rb.
Also added the required and optional field tests for Garden form.
2015-07-23 11:42:04 -04:00
Anthony Atkinson
69cb87fd0f Test that required and optional fields are displaying properly on Seed form. 2015-07-23 11:36:54 -04:00
Anthony Atkinson
efd6328436 Test for required and optional field display on Harvest form. 2015-07-23 11:32:06 -04:00
Anthony Atkinson
19adabc55f Test for required and optional field display on Planting form. 2015-07-23 11:27:17 -04:00
Anthony Atkinson
ccde5b230b Comments for reasoning behind adding bangs to let statements. 2015-07-23 10:12:03 -04:00
Anthony Atkinson
33f28d1727 Two tests required bangs on let statements in order to pass after refactoring. 2015-07-23 10:07:10 -04:00
AELOGICA
aa3cf729c8 Added feature tests for on gardens, seeds and harvests for the card based thumbnails 2015-07-23 15:44:27 +08:00
AELOGICA
611adc0728 Fixed test errors for seeds and garden thumbnails. 2015-07-23 15:44:26 +08:00
AELOGICA
f5336bd8f8 Created card based template for harvests. 2015-07-23 15:44:25 +08:00
Anthony Atkinson
5a35a3da01 Initial rendition of feature test upgrade to Ruby 2.x and Rspec 3.x syntax. 2015-07-22 19:48:41 -04:00
Anthony Atkinson
a03d044049 Make a reusable helper for the "* denotes a required field" help text and change the Planting form to use the helper. 2015-07-22 10:59:47 -04:00
AELOGICA
134465d023 Fixed feature errors and removed failing deprecated tests 2015-07-17 07:31:53 +08:00
AELOGICA
a581b759a3 Added tests for creating crops with multiple scientific and alternate names 2015-07-17 07:31:53 +08:00
AELOGICA
734b57e395 Fixed feature test errors 2015-07-17 07:31:53 +08:00
pozorvlak
8c017b24e0 Merge pull request #774 from jacarandang/signout
[#568] Signout redirects to last page visited
2015-07-16 23:22:03 +01:00
AELOGICA
85e4708b71 Changed plantings_by_owner_path to seeds_by_owner_path on misc_seeds_spec.rb 2015-07-16 08:06:01 +08:00
AELOGICA
0816b6b114 Added link to owner's profile from seeds', plantings', and harvests' index 2015-07-13 10:42:06 +08:00
Jym Paul A. Carandang
91b5c3e798 Added test for signount redirection 2015-07-13 09:52:05 +08:00
pozorvlak
133a67a8f2 Merge pull request #764 from GabrielSandoval/gab/places
Fixes #720 - Places show nearby seeds, members, and plantings.
2015-07-10 16:26:25 +01:00
AELOGICA
43d7c36fc5 Created feature tests for showing nearby plantings, seeds, and members on search 2015-07-10 11:25:05 +08:00
AELOGICA
0407df880b Added feature tests for sunniness icons for plantings page. 2015-07-10 11:17:11 +08:00
AELOGICA
20219e23dc Added sunniness icons on plantings/_thumbnail and show page 2015-07-10 11:17:11 +08:00
pozorvlak
49bbbeb431 Merge pull request #769 from jacemonje/new-navbar
Redesigned the navbar
2015-07-10 00:24:57 +01:00
pozorvlak
82bc07ccd0 Merge pull request #762 from CjayBillones/refactor-spec-models
Refactor spec/models
2015-07-10 00:24:00 +01:00
Jace Monje
fa0cb55789 fixed errors in tests 2015-07-09 08:01:58 +08:00
Jace Monje
7232f4614c refactored tests
fixed tests
2015-07-09 07:37:29 +08:00
Cjay
23dbfea05a Fix spec/models/ability_spec.rb
-	Changed notification into a variable scope
- Removed let(:cw_ability) and let(:admin_ability) and just used ability
2015-07-09 07:06:21 +08:00
Miles Gould
3259291eea Merge remote-tracking branch 'upstream/pr/698' into dev 2015-07-08 23:20:16 +01:00
pozorvlak
0d0042dba8 Merge pull request #761 from CjayBillones/refactor-spec-support
Refactor spec/support
2015-07-08 22:07:25 +01:00
pozorvlak
edcbc939e3 Merge pull request #728 from oshiho3/575-one-click-email-unsubscribe
#575 One click email unsubscribe
2015-07-08 22:06:29 +01:00
Cjay
c568498941 Refactor spec/models
- Changed before(:each) into let
- Changed :admin_ability and :cw_ability into :ability
2015-07-09 02:21:10 +08:00
Cjay
c6c8492528 Fix changes in spec/support 2015-07-09 01:59:34 +08:00