Steffen van Bergerem
049c8eb384
Bootstrap header rewrite
2015-06-20 00:38:40 +02:00
Steffen van Bergerem
399fdb2c7d
Check request.format :mobile in home controller
2015-05-05 01:39:48 +02:00
Jonne Haß
ea58c95fa0
Switch back to database cleaner
...
database_rewinder seems to cause deadlocks in postgres and other
subtle bugs for us.
2015-03-25 13:37:56 +01:00
Jonne Haß
65a738e604
bump rspec-rails
2015-03-25 02:33:56 +01:00
Jonne Haß
0f2d2bd44d
Replace DatabaseCleaner with DatabaseRewinder
2015-03-02 15:02:57 +01:00
Faldrian
913d9827e7
Added support for environment-variable to specify firefox-binary for selenium-testing
2015-01-24 16:24:20 +01:00
Jonne Haß
c7047fbe8f
cleanup features/support
2014-12-08 04:55:56 +01:00
Jonne Haß
3a92efbfaf
drop deferred garbage collection
2014-12-08 04:51:06 +01:00
Jonne Haß
a580171e32
Replace spork with spring, update & use binstubs
...
Spring is the recommended application preloader for rails
2014-12-01 08:06:07 +01:00
Faldrian
21806a2c9b
mobile more-link only if there may be a next page; added message for end of stream
2014-11-16 01:43:55 +01:00
Jonne Haß
8b8071925d
Make toggle aspect call synchronous and bump capybaras wait timeout
...
in features/desktop/aspect_navigation.feature:18 we quickly leave the page
before waiting for the request to finish. By making the HTTP call
synchronous we wait for it to finish before we reflect the change in the DOM,
thus giving Capybara a chance to wait for it. Also let Capybara wait longer.
This should random failures of the aforementioned cuke rarer.
2014-01-26 00:13:06 +01:00
Jonne Haß
79a79d65d6
Bye Resque. Ohai Sidekiq.
...
* Dropped all references to Resque
* Moved all jobs under app/workers since that's the Sidekiq convention
* Renamed Jobs module to Worker to match new location
* Adapted all jobs to Sidekiq
* Replaced all enqueue calls with perform_async
* Dropped Resque hacks from specs and features, replaced with
sidekig/testing in RSpec and sidekig/testing/inline in Cucumber
* Updated scripts to start a Sidekiq server
* Inline Sidekiq sinatra app
* Let Sidekiq create the actual Redis instance
* Workaround already initialized constant warnings in service models
* Resolved ToDo in one job definition by creating proper exception clases
for some errors in receiving posts
* Added sidekiq section to configuration to make it completly
configurable to the user
* Add Sidekiq middleware for clean backtraces
* Delay HttpMulti retry to give offline pods a chance to come back up
* Do not retry on GUID already taken and alike errors
* Be graceful about deleted posts in GatherOEmbedData
2013-03-21 23:39:07 +01:00
Jonne Haß
2afa2899c5
rework Gemfile
2013-03-15 21:00:27 +01:00
Jonne Haß
2a4db54db9
New configuration system
...
* Throw away old system
* Add new system
* Add new example files
* Replace all calls
* add the most important docs
* Add Specs
* rename disable_ssl_requirement to require_ssl
* cloudfiles isn't used/called in our code
* since community_spotlight.list is only used as enable flag replace it with such one and remove all legacy and irelevant codepaths around it
* die if session secret is unset and on heroku
* First basic infrastructure for version information
2012-09-26 20:19:37 +02:00
Steven Hancock
a8de3a5a3f
Rails.root and File.join cleanup
...
- `Rails.root` is a `Pathname`, so let's use `Rails.root.join`
- Clean up most of the remaining `File.join`s
2012-06-11 03:13:20 -07:00
Florian Staudacher
9f586e915f
well, then let's try the other thing that is suggested on that page to fix cukes
2012-05-10 22:09:31 +02:00
Florian Staudacher
e0e8b47cb4
see, if this fixes those nasty cuke timeouts
2012-05-10 13:57:26 +02:00
Maxwell Salzberg
f6b6a67729
this file got renamed
2012-04-10 10:30:52 -07:00
Maxwell Salzberg
e1d86bddcf
some tweaks so it fails gracefully on systems that do not have free command
2012-04-05 14:29:41 -07:00
Maxwell Salzberg
20fee66eee
dont do speedup magic on travis
2012-04-05 12:28:07 -07:00
Florian Staudacher
90387e83f8
speed up cukes by deferring GC
...
-> https://makandracards.com/makandra/950-speed-up-rspec-by-deferring-garbage-collection
this speeds up tests from 9min 47sec to 9min 16sec on my machine
(6% improvement)
2012-04-05 16:01:58 +02:00
Maxwell Salzberg
78146a95d9
try a much longer wait time and see if that makes things pass on travis :*(
2012-04-03 23:03:11 -07:00
Maxwell Salzberg
cf3776fde2
remove webmock from cucumber to try and fix the travis timeout errors :(
2012-04-03 22:16:51 -07:00
Maxwell Salzberg
ef74a06d85
reduce timeout to maybe get cukes to pass
2012-04-03 18:04:08 -07:00
Maxwell Salzberg
0986e412de
well that didnt work... Revert "try reconnecting after every cuke for postgres only to try and deal with travis issues"
...
This reverts commit 1604aedf03 .
2012-04-03 17:59:51 -07:00
Maxwell Salzberg
1604aedf03
try reconnecting after every cuke for postgres only to try and deal with travis issues
2012-04-03 17:27:28 -07:00
danielgrippi
5459d07339
bump capybara timeout to avoid timeout errorsdefine cucumber step to be pending so travis doesn't freak out
2012-04-03 16:43:44 -07:00
danielgrippi
3bc3f13651
upgrade backbone, fix tests
...
some cukes may be failing non deterministically, I think, do we bump the cuke timeout?
2012-04-03 16:31:52 -07:00
Maxwell Salzberg
adf85e1ec6
adding a bit to tubbo's spork branch
2012-03-31 01:22:46 -04:00
Dennis Collinson
34bdc09763
simplify env.rb for great justicethe jquery hack was messing up cukes, killed that
2012-03-29 11:51:32 -07:00
danielgrippi
f72f1d4059
more progress
2012-03-27 18:07:22 -07:00
Maxwell Salzberg
62b222020d
allow localhost in cukes
2012-02-09 17:54:56 -08:00
Maxwell Salzberg
7109cf6c67
mock out slow things that our tests dont need for speed
2012-02-09 17:44:32 -08:00
danielgrippi
4f7dda6012
bang! kill redis cache.
2012-02-02 12:45:43 -08:00
danielgrippi
ebab307b3d
fix require in cucumber
2012-02-01 16:47:32 -08:00
Maxwell Salzberg
a1b389c365
SM MS; stub jquery in cukes, cleanup env.rb
2012-01-07 13:07:45 -08:00
Jonne Hass
8f13f2182e
ensure the expected port is actually used by cucumber
2011-12-10 12:54:39 +01:00
danielgrippi
f4c9b548f9
update cucumber and capybara. one failing cuke.
2011-12-07 18:40:39 -08:00
Gonzalo Rodriguez
0de6512789
Decrease cukes default wait time
...
This will not fix cukes, but at least travis is going
to throw failures output instead of timing out
2011-11-22 00:18:14 -02:00
Sarah Mei & Tim Frazer
ebad0f5ec3
Don't try to follow diasporahq during cucumber tests
2011-11-14 16:55:59 -08:00
danielgrippi
b46200224e
cukes are green again
2011-10-17 17:45:45 -07:00
Maxwell Salzberg
8029cb0784
SM MS basic api wip. able to get a users public profile
2011-10-15 18:57:13 -07:00
Sarah Mei
22b65bd3c1
Mock out more jobs that might make outside calls
2011-09-05 14:31:00 -07:00
Sarah Mei
fa54b1dca2
Mock out pubsubhubbub in cucumber
2011-09-05 13:35:11 -07:00
Sarah Mei
cac4b1ba4e
Ridiculously long cucumber timeout so we're more resiliant to travis traffic
2011-09-05 12:08:29 -07:00
Sarah Mei
b1dc5f4aee
Only delete cookies if running in an actual browser.
2011-09-04 13:14:32 -07:00
Sarah Mei
5b54f84ad2
Clear cookies between features.
2011-09-04 12:26:58 -07:00
Sarah Mei
f23658f9a2
Up the default wait time so travis is happier.
2011-09-03 19:57:03 -07:00
Raphael Sofaer
c7331230bc
Revert "Revert "Revert "remove uploaded test images after running the specs/cucumber"" -- using == now instead of ="
...
This reverts commit b11bd23da2 .
2011-08-18 12:06:04 -07:00
danielgrippi
b11bd23da2
Revert "Revert "remove uploaded test images after running the specs/cucumber"" -- using == now instead of =
...
This reverts commit 7969b52035 .
2011-08-18 11:20:49 -07:00