Installation
Put hornsby’s directory at MERB_ROOT/lib/hornsby
$ cd lib $ git clone git://github.com/laurynasl/hornsby.git
Put the following lines to spec/spec_helper.rb (after line require 'spec'):
require 'spec'
require Merb.root / 'lib/hornsby/lib/hornsby' Hornsby.orm = :datamapper Hornsby.load(Merb.root / 'spec' / 'hornsby_scenarios.rb')
And one more line in Spec::Runner::Configure:
config.include(HornsbySpecHelper)
There was an error while loading. Please reload this page.