From 346322b8d3b722694fa25b132895772dd0e72c83 Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Thu, 7 Jun 2012 10:54:22 -0400 Subject: [PATCH] Spec helper typo. Tests are passing. --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index cfcaac1..aa638f7 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -36,6 +36,6 @@ Dir[File.join(File.dirname(__FILE__), "factories/*.rb")].each {|f| require f } # not sure if this really adds anything, but this existed in the intial version of the spree_digital rspec testing RSpec::Matchers.define :have_valid_factory do |factory_name| match do |model| - FactoryGirl.create(:factory_name).new_record?.should be_false + FactoryGirl.create(factory_name).new_record?.should be_false end end \ No newline at end of file