madelinecr / rblog

A blogging platform in Ruby on Rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

RBlog is the software that will eventually run my blog, bpace.info. Even further down the road it has plans of being a generic blogging platform for anybody to use.

Run Server

rails server

Run Tests

guard

Testing with rspec

This app uses rspec-rails, capybara, rails-controller-testing factory_girl, shoulda-matchers, html_validation and more for the specs written.

Controllers

Specs for testing controllers are stored in the controllers folder. These are pretty straight-forward and test the individual lines of code in the controllers.

Features

Feature specs are a bit more complicated. They test application behavior from the frontend using webrat and optionally selenium to step through the app's behavior, a line at a time.

Helpers

Specs for testing helpers. Pretty straight-forward. Similar to controller specs.

Models

Specs for testing models. Pretty straight-forward. Similar to controller specs.

Views

These specs only test the site as it appears from a signed out user. Any more complicated behavior will be tested in a feature spec.

Installation Requirements

  • Imagemagick

About

A blogging platform in Ruby on Rails


Languages

Language:Ruby 71.8%Language:CSS 17.4%Language:HTML 9.3%Language:JavaScript 1.3%Language:CoffeeScript 0.2%