Skip to content

Commit

Permalink
A bit more Machinist setup. [#22]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed May 8, 2009
1 parent 72ff9d0 commit 3c25ccd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/blueprints.rb
@@ -0,0 +1,2 @@
# Object blueprints for Machinist.
require 'faker'
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -2,6 +2,7 @@
# from the project root directory.
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require File.expand_path(File.dirname(__FILE__) + "/blueprints")
require 'spec'
require 'spec/rails'
include AuthenticatedTestHelper # for restful_authentication
Expand Down Expand Up @@ -45,4 +46,7 @@
# == Notes
#
# For more information take a look at Spec::Example::Configuration and Spec::Runner

# Reset Shams for Machinist.
config.before(:each) {Sham.reset}
end

0 comments on commit 3c25ccd

Please sign in to comment.