Spec helper typo. Tests are passing.

This commit is contained in:
Michael Bianco
2012-06-07 10:54:22 -04:00
parent 2a0d165d93
commit 346322b8d3

View File

@@ -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