Spec helper typo. Tests are passing.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user