Commit Graph

31 Commits

Author SHA1 Message Date
Brenda Wallace
40a981c94d Removed unnecesary braces on hash args 2017-01-22 15:10:11 +13:00
Brenda Wallace
723ebff923 Spacing fixes 2016-11-26 12:13:17 +13:00
Brenda Wallace
62e7c716dd Removed extra empty blank lines 2016-11-26 12:06:02 +13:00
Brenda Wallace
bdb057ca0f Removed all trailing white space 2016-11-14 15:05:32 +13:00
Daniel O'Connor
4b4e0cf69a $ rubocop --only HashSyntax --auto-correct
483 files inspected, 2018 offenses detected, 2018 offenses corrected
2016-05-19 15:53:11 -04:00
Daniel O'Connor
a3ad9189b1 Fix WARNING: Using the raise_error matcher without providing a specific error or message risks false positives, since raise_error will match when Ruby raises a NoMethodError, NameError or ArgumentError, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #<ActiveRecord::RecordNotFound: Couldn't find Member with 'id'=9999>. Instead consider providing a specific error class or message. This message can be supressed by setting: RSpec::Expectations.configuration.warn_about_potential_false_positives = false. Called from /home/travis/build/Growstuff/growstuff/spec/controllers/member_controller_spec.rb:65:in `block (3 levels) in <top (required)>'. 2016-04-07 10:41:35 +09:30
Taylor Griffin
95974ab21b add deprecation not to all controller and view specs 2015-02-12 19:52:53 +11:00
Taylor Griffin
7fc886f43c implement custom Sweeper class as stop gap against errors when running specs 2014-11-16 12:01:27 +11:00
Skud
dc1afb8913 Added seeds_by_crop_path routes and stuff 2014-10-19 14:25:47 +01:00
Joseph Caudle
a43d3a1ce7 Add places pages
This commit builds off of @Skud's spike on locations and largely takes
off from the `nearby_members` feature which previously existed on
members.

One thing to note is that we needed to add a search route and action to
`PlacesController` to account for requests of new places as they could
not be redirected to properly from within `PlacesController#show`.

[Story #53848631]
2013-08-02 00:15:51 -04:00
Skud
923f01cd72 cleaned up boring controller tests 2013-07-08 13:24:26 +10:00
Skud
45935c6e38 connect to flickr 2013-04-30 23:01:18 +10:00
Miles Gould
2421126825 Put locations in geolocated_member factory names. 2013-04-25 23:27:52 +01:00
Miles Gould
643c8f0917 Rename local vars in tests for greater clarity. 2013-04-25 23:17:29 +01:00
Miles Gould
a16d07cfef Fix tests for units in Members#nearby 2013-04-25 22:53:07 +01:00
Cesy Avon
cebd49271a Finding nearby members by distance
Distance is now configurable
Units framework is there but it's not working yet
2013-04-23 10:13:21 -07:00
Cesy Avon
6caf8e4160 Writing tests first 2013-04-23 09:05:12 -07:00
Skud
f05a8f9ce6 added twitter link to profile page 2013-04-19 00:00:56 +10:00
Miles Gould
fde8d163a9 Allow non-logged-in folk to search for members near a location. 2013-04-02 15:48:58 +01:00
Miles Gould
afa5b7a72f Find nearby members back-end (hardcoded to 100mi). 2013-03-29 16:03:00 +00:00
Miles Gould
400fa98d35 Basic controller and view tests for "nearby members" 2013-03-29 15:36:34 +00:00
Skud
e5d380729e we more or less have a settings page. doesn't WORK though. 2013-02-06 12:46:45 +11:00
Skud
e41293c121 fixed placement of curly braces. tests now pass. 2013-02-05 22:30:28 +11:00
Skud
1ccaab3085 Don't allow members to be accessible with JSON
One of the tests is failing and I can't for the life of me figure out
why. Everything looks fine when I try it with curl from the command
line. Hmm.
2013-02-02 23:37:24 +11:00
Skud
df76f2497a renamed Post.member_id to Post.author 2013-01-13 20:57:28 +11:00
Skud
689448f87c renamed Member.username to login_name 2013-01-13 19:14:46 +11:00
Skud
fdb309cdd2 s/users/members/g -- controllers and their tests 2013-01-13 17:53:24 +11:00
Skud
48d8b39b0a s/update/post in members controller, plus tests 2013-01-13 16:40:07 +11:00
Gnat
20df5538ca No profile for unconfirmed members 2012-12-21 01:00:56 +00:00
Gnat
183dc71b76 Unconfirmed users don't show on members index page 2012-12-21 00:30:01 +00:00
Skud
8006f75275 RSS feeds for each member, plus tests. 2012-11-12 16:15:13 +11:00