lib/test_dummy.rb in test_dummy-0.2.1 vs lib/test_dummy.rb in test_dummy-0.2.2
- old
+ new
@@ -123,10 +123,10 @@
# been saved.
def build_dummy(with_attributes = nil)
unless (defined?(@_dummy_module))
@_dummy_module =
begin
- dummy_path = File.expand_path("models/dummy/#{name.underscore}.rb", Rails.root)
+ dummy_path = File.expand_path("test/dummy/#{name.underscore}.rb", Rails.root)
if (File.exist?(dummy_path))
require dummy_path
end
rescue LoadError