diff --git a/spec/blueprints.rb b/spec/blueprints.rb new file mode 100644 index 00000000..74e46cc2 --- /dev/null +++ b/spec/blueprints.rb @@ -0,0 +1,2 @@ +# Object blueprints for Machinist. +require 'faker' \ No newline at end of file diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 491b6b06..16faf94d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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 @@ -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