Benjamin Neff
2a6515fab9
Add params keyword to controller specs
2017-08-12 15:39:23 +02:00
Justin Ramos
fa71af71c1
require spec_helper in .rspec
...
closes #7223
2016-11-27 21:27:12 +01:00
cmrd Senya
4ae26e1ded
Upgrade devise to 4.2
2016-08-11 12:25:36 +03:00
Benjamin Neff
3c09756417
refactoring javascript and controller
...
- move to contacts.js
- use json
- move to aspects_controller
- add route
- rewrite test
- fix css in chrome
2015-04-28 01:57:43 +02:00
Steffen van Bergerem
75ef9f47d0
Use Bootstrap modal for new aspect form
2015-04-07 10:45:09 +02:00
Steffen van Bergerem
07a344d051
Disable auto follow back on aspect deletion
2015-04-03 14:10:14 +02:00
Jonne Haß
9530f00bd6
Don't use a too large invalid id
2015-02-27 16:58:39 +01:00
Jonne Haß
ccd7c670b3
Merge pull request #5170 from khall/issue_5149a
...
Issue 5149a
Conflicts:
spec/controllers/aspects_controller_spec.rb
spec/controllers/contacts_controller_spec.rb
2014-08-27 18:20:56 +02:00
khall
c42916df27
Two tests failing after rspec 2.99 => 3.0.0
2014-08-26 17:10:26 -07:00
khall
027bb9fcb0
Rspec version bump to 2.99
2014-08-26 17:00:21 -07:00
Steffen van Bergerem
ff84ee0485
Small style changes, add tests
2014-08-26 22:45:43 +02:00
Jonne Haß
42b08e8ab8
Update to Rails 4.1
2014-08-25 17:37:02 +02:00
Gonzalo
78953fe2bf
Move ApplicationController specs to application_controllers_spec
2012-10-14 19:32:53 -02:00
Jonne Haß
58d1448085
update factory girl
2012-09-12 13:24:23 +02:00
Maxwell Salzberg
b124d3e5a1
Revert "update factory girl" new version does not support 1.8.7 :(
...
This reverts commit c52342b7cb .
2012-05-16 17:43:56 -07:00
Maxwell Salzberg
c52342b7cb
update factory girl
2012-05-16 17:17:14 -07:00
Maxwell Salzberg
67e4f9e159
remove puts and fix a conversationscontroller spec to be a bit more predictable
2012-03-03 16:25:10 -08:00
Steven Fuchs
ef7dc1c017
update aspect name in page listing after editing.
2012-02-03 08:37:35 -05:00
Maxwell Salzberg
49f18d435a
upgrade factory girl there are 3 failing cukes.
2012-01-21 21:58:50 -08:00
danielgrippi
bfe0b7129c
move all stream actions into PostController
2012-01-17 15:53:06 -08:00
danielgrippi
bee8aa8bcd
remove unused files/methods
2012-01-11 02:26:12 -08:00
danielgrippi
21eba82e76
moved all jasmine fixture building into spec/controllers/jasmine_fixtures/
2012-01-07 14:23:25 -08:00
Maxwell Salzberg
22d5e913cc
remove splunk logging
2011-12-21 14:24:03 -08:00
Jonne Hass
afb5e5e7f0
fix json in aspects controller spec
2011-12-11 03:35:19 +01:00
Dan Hansen & Maxwell Salzberg
3cfa0c4602
use the stream element partials for testing the StreamElement widget instead of Aspects#index
2011-11-04 18:40:24 -05:00
Gonzalo Rodriguez
aa1623a95f
Fixing person's name construction
...
* When only has last_name, return last_name not diaspora_handle
* Strip contstructed name to avoid trailing or preceding space
when having only first or last name present
2011-10-18 02:24:29 -02:00
Maxwell Salzberg
f959ca0c12
refactor streams to be in a Stream module, hopefully they will auto-reload now
2011-10-13 22:26:15 -07:00
Pistos
2cd004da24
Added an additional stub_request so aspects_controller_spec.rb passes under more conditions.
2011-10-13 21:56:59 -04:00
Maxwell Salzberg
6ac0a46120
green jasmine by stubbing ajax_stream? in aspects controller
2011-09-29 18:04:21 -07:00
danielgrippi
2b2443b6b9
aspect dropdown takes public and all aspects option
2011-09-27 21:09:27 -07:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
danielgrippi
1bd37038cc
fixed/moved specs; made Person.all_from_aspects scope (move direct AR querying from AspectStream; added more documentation in AspectStream
2011-09-11 14:16:48 -07:00
danielgrippi
21182c88ec
initial tests for AspectStream
2011-09-11 14:16:48 -07:00
danielgrippi
ec4dc7a905
Created AspectStream; removed all logic from AspectsController#index
2011-09-11 14:16:48 -07:00
danielgrippi
fe915ecb09
don't redirect to AspectsController#new from AspectsController#index if no aspect is present
2011-09-10 09:25:38 -07:00
Sarah Mei
a5b120532a
Use a jasmine fixture with just one post for the comment specs.
2011-09-03 17:51:51 -07:00
Sarah Mei
1a823d647e
Fix comment jasmine fixture generation to be more consistent (i.e. take out more aspects.first stuff). Fix comment jasmine spec to be more consistent - remove unneeded spies, etc.
2011-09-03 12:02:51 -07:00
Dan Hansen
cbc168fc27
only request comments once
2011-08-30 23:12:17 -05:00
Maxwell Salzberg
e25decedc3
Merge pull request #1845 from fermionic/1811-mobile-share-button
...
1811 mobile share button
2011-08-30 11:27:36 -07:00
Sarah Mei
2255e80b69
So. It turns out that postgresql has a less-consistent idea of what .first means in an association with no default ordering. All the places we were doing bob.aspects.first (& etc.) needed to be more specific. & o ya, POSTGRES IS GREEN.
2011-08-29 22:03:05 -07:00
Zach Prezkuta
3f5dd7e5b1
Issue #1811 : Share button missing in mobile version
2011-08-29 22:30:14 -06:00
Sarah Mei
b60101b9ad
Use explicit parameters instead of request format to determine whether we render a remote or non-remote form in aspects#new.
...
Facebox needs to get back a text/html response. We were using text/javascript to indicate that we wanted a remote form and text/html to indicate we wanted a non-remote form. The trouble is, if we request with text/javascript then that is the format we get back. It doesn't really make sense to use formats that way anyway, so I changed it to an explicit parameter. This had the nice side effect of simplifying our new-aspect views.
2011-08-28 16:08:57 -07:00
Dan Hansen
27d4fd8176
fix retractions, fix likes, backfill likes widget tests, remove typo from jasmine.yml, remove unneeded js files
...
require confirmation for comments in js, get rid of rails helper
2011-08-26 15:24:07 -05:00
Dan Hansen
d75ef8d020
made backtotop a widget, added jquery-debounce
2011-08-26 12:30:28 -05:00
Dan Hansen
4a64a172d1
Merge branch 'master' of github.com:diaspora/diaspora into js-refactor-merged
...
Conflicts:
spec/javascripts/stream-spec.js
2011-08-21 20:57:01 -05:00
Andrej Kacian
2a52face12
Add jasmine test for ajax spinner display
2011-08-22 00:38:34 +02:00
Dan Hansen
2e9040e227
merged with master, 7 cukes failing. jasmine is green. need to remove rails.js helpers so things suck less
2011-08-10 23:57:33 -07:00
Andrej Kacian
bddd7c717b
Write jasmine test for the tag unfollow icon visibility
2011-08-09 22:54:31 +02:00
Raphael Sofaer
f0f388d9e1
Fix weird error in jasmine suite
2011-08-05 15:09:16 -07:00
danielgrippi
99ac976594
fix redirects around getting_started and aspect/index
2011-08-03 18:07:43 -07:00