Commit Graph

1052 Commits

Author SHA1 Message Date
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
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
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
Cesy
3420f18fb9 Merge pull request #703 from soborok/issue-610
resolved issue #610 to show only current plantings
2015-07-08 17:54:30 +01:00
AELOGICA
c746c6d6d7 Added feature and test for request #549 2015-07-08 08:35:45 +08:00
AELOGICA
7607daa83a Added feature and test for request #549 2015-07-08 08:16:32 +08:00
pozorvlak
fc44e87fb9 Merge pull request #763 from CjayBillones/refactor-spec-helpers
Refactor spec/helpers
2015-07-07 11:56:52 +01:00
pozorvlak
ccc63381a6 Merge pull request #753 from CjayBillones/dev
Show edited date/time on posts/comments and Show last login date on member profile
2015-07-07 11:30:08 +01:00
Gabriel
b599818512 Delete _thumbnail.html.haml_spec.rb 2015-07-07 08:20:43 +08:00
AELOGICA
8d5367be9a Refactored code and replaced the plantings/tumbnail view. 2015-07-07 08:20:43 +08:00
AELOGICA
516274b2b7 Added feature more feature tests on plantings creation for progress bars' status 2015-07-07 08:20:43 +08:00
AELOGICA
b01385a1e4 Added some tests on the days before maturity feature 2015-07-07 08:20:43 +08:00