Commit Graph

20 Commits

Author SHA1 Message Date
Peter Bhat Harkins
6c7f6677ba housekeeping
If you don't want color in rspec output, you can add it to your ~/.rspec.
2018-04-19 05:37:18 -05:00
Peter Bhat Harkins
60c7a9cc3a more tests for Story#domain 2018-04-18 18:48:42 -05:00
Peter Bhat Harkins
49e678ea39 Story: allow nonstandard ports in urls
Refectors url setter and adds a bunch of tests.
2018-04-18 15:13:44 -05:00
Peter Bhat Harkins
c0393457a4 update to current rspec-rails integration style 2018-03-21 15:37:41 -05:00
Peter Bhat Harkins
56d8f1a9bf rubocop: Layout/MultilineBlockLayout, 166
Except in user.rb, these were all oddities of 80-char line length.
2018-03-19 10:00:27 -05:00
Peter Bhat Harkins
1dabae1d0f rubocop: Style/BracesAroundHashParameters, 527 2018-03-17 19:31:06 -05:00
Peter Bhat Harkins
8138d9e7a4 rubocop: Style/FrozenStringLiteralComment, 1396
It's a transitional thing, let future me suffer with Ruby 3.0.
2018-03-17 14:04:59 -05:00
Adam Hess
0cb4048dd6 update rspec syntax (#366)
the :should syntax is no longer supported. Now we use the modern :expect syntax
2017-06-13 10:10:02 -05:00
joshua stein
6537e7dc36 clean up tests 2016-05-09 09:52:47 -05:00
joshua stein
9f9e608fc8 fix fetched_attributes fallout 2015-12-03 14:57:33 -06:00
joshua stein
48e5a0f130 fix story test after 285fd82c 2014-03-24 10:26:06 -05:00
Serge Paquet
6dcb7bbf6b fixed mixed indent style (should be 2 soft spaces as per project guidelines) 2013-12-23 18:19:47 -05:00
joshua stein
a4e5684994 moderation log: fix tag change summary; fixes issue #43 2012-12-16 20:27:54 -06:00
joshua stein
6b0a965c66 test that a story with one real tag doesn't error out 2012-12-16 19:59:41 -06:00
joshua stein
edcee1bddd << strikes again 2012-08-24 11:41:37 -05:00
joshua stein
c945f29040 add similar-url check for www\d*\., rewrite checker to be simpler 2012-08-24 11:41:37 -05:00
joshua stein
389b4c61ec do better at finding near-similar urls already posted recently
http -> https, trailing slash, etc.
2012-08-24 11:41:36 -05:00
joshua stein
6258cb7f75 remove leading and trailing underscores from title_as_url 2012-08-24 10:57:42 -05:00
joshua stein
13a584854e stories must have at least one tag 2012-08-24 10:57:10 -05:00
joshua stein
1bf98318c8 write some basic tests 2012-08-24 10:57:10 -05:00