railsbridge-boston / railsbridgeboston_dot_org

This is the RailsBridge Boston website.
https://www.railsbridgeboston.org/
0 stars 2 forks source link

Simplify how we specify dependencies #41

Closed mxie closed 8 years ago

mxie commented 8 years ago

Each class and their correspending unit specs should really only have to specify dependencies that are directly related to them without having to reach too far. For example, the EventFinder spec should only have to require the file containing its class and nothing else that the class itself actually depends on, like Eventbrite::Event.

On the other hand, we could also move some spec config over to the spec_helper.rb file and have rails_helper refer to it, so that that can be centralized and shared across all tests.

Addresses #40

drapergeek commented 8 years ago

:+1: