aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
Commit message (Collapse)AuthorAgeFilesLines
* Renaming Method to better describe use, Including Deprecation Warning on Old ↵Andrew Hooker2012-05-191-3/+3
| | | | Method
* Set published_time as Time.utc to avoid hackery needed later to compare dates.Uģis Ozols2012-05-051-9/+4
|
* Fix millisecond comparison issue in post spec.Uģis Ozols2012-04-261-2/+7
|
* Adjust times for spec to avoid running into DST issues.Uģis Ozols2012-04-261-3/+3
|
* In #prev and #next specs advance time by days instead of minutes.Uģis Ozols2012-04-101-2/+2
|
* Remove functionality provided by rails.Pete Higgins2012-02-231-17/+0
|
* Avoid creating some database records.Pete Higgins2012-02-101-3/+3
|
* These aren't scopes anymore. :trollface:Pete Higgins2012-02-101-3/+3
|
* 'subject.class' -> described_class.Pete Higgins2012-02-101-13/+13
|
* Refactor all_previous into published_dates_older_than.Pete Higgins2012-02-101-5/+6
|
* Move some of the Refinery::Setting's over to Refinery::Blog.Uģis Ozols2012-02-041-4/+2
|
* add source url for postJeff Shumate2012-01-251-2/+33
|
* Fixed namespacing for Refinery conventions.Philip Arndt2012-01-171-13/+13
|
* Refactored everything (models, helpers) into proper namespace of ↵Philip Arndt2011-11-096-282/+281
| | | | Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909
* Converted Factory to FactoryGirl to fix deprecation warnings.Philip Arndt2011-09-033-34/+34
|
* refactor engine testing scenarioJamie Winsor2011-08-031-2/+2
| | | | | | | | Engine is now tested standalone by leveraging a dummy rails app Enable Guard for speedy testing Move factories to the more standard location `spec/factories/*` Update README with a Testing section Rename migrations to contain datetimestamps for their version to fix migration order issues when migrating the dummy application
* Make those specs green again.Uģis Ozols2011-08-033-3/+0
|
* Rails 3.1 - wip.Uģis Ozols2011-07-276-279/+285
|
* Spec context is about false.Uģis Ozols2011-07-041-1/+1
|
* Copy / Paste mistake fixedJohan Bruning2011-07-041-1/+1
|
* Added ability to disable teaser independent of teaser lengthJohan Bruning2011-07-041-0/+24
| | | | | | I prefer full length articles at all times on blogs and don't like teasers. I added the ability for people to disable teasers so full articles will be shown by default. The teasers can e enabled just like comments from the admin page or trough the normal settings. However not sure if the post partial now is conform standards. Maybe the helper method "blog_post_teaser" could encapsulate the check which is now done in the view and return the full length article instead of a teaser if the teasers are disabled.
* Refactored the spec suite to be consistent.Philip Arndt2011-06-293-43/+43
|
* fixed ruby 1.9.2 warnings about useless use of == in boid contextIvan Storck2011-06-231-3/+3
|
* this needs html_safeJoe Sak2011-06-231-0/+6
|
* Model spec filenames should be singularMarc Remolt2011-05-093-0/+0
|
* Fixes for blog_post specsMarc Remolt2011-05-091-61/+73
| | | | | * spec "returns all posts from specified month" failed on the second day of a month * refactorings and cleanups (while I'm at it)
* tests were failing all over the placeJoe Sak2011-04-222-52/+44
|
* More test coverage for tags: can fill tags in on admin formJoe Sak2011-03-111-2/+3
|
* Acts as taggable installedJoe Sak2011-03-111-0/+6
|
* test fixingJoe Sak2011-03-081-15/+15
|
* Hi, my name is...Philip Arndt2011-03-021-1/+1
|
* WIP- just stuck on the uninitialized Constant weirdnessJoe Sak2011-02-241-1/+1
|
* Blog Posts belong to an author ("user_id")Joe Sak2011-02-241-0/+6
|
* Added settings click-button functionality for toggling comments being ↵Philip Arndt2011-02-211-8/+7
| | | | enabled, with translations.
* The first shall be the .last, and the last shall be the .firstJoe Sak2011-02-161-1/+1
| | | | thanks to the default_scope :order_by published_at DESC
* Previous scope test wasn't testing BlogPost.previousJoe Sak2011-02-161-1/+1
|
* test coverage for uncategorized blog posts scopeJoe Sak2011-02-161-0/+12
|
* test coverage for previous changesJoe Sak2011-02-151-5/+13
|
* Added some rspec tests for blog category model.Uģis Ozols2010-12-071-7/+19
|
* Added some rspec tests for blog post model.Uģis Ozols2010-12-071-7/+150
|
* Consistent whitespace.Philip Arndt2010-11-233-8/+8
|
* Merged in Joe's and Steven's forks and updated for compatibility with < ↵Philip Arndt2010-11-223-5/+8
| | | | 0.9.9. Also, specs now work by including the factories and I have also laid the foundation for cucumber features. Fixed an issue where the javascript file was clashing with the same code we merged to core from this engine relating to submenus. Regenerated gemspec.
* Converted to factory_girl use, a little refactoredJoe Sak2010-08-093-10/+41
|
* All models initializeJoe Sak2010-08-093-0/+24