lib/generators/invitation/install/install_generator.rb in invitation-0.0.1 vs lib/generators/invitation/install/install_generator.rb in invitation-0.0.2

- old
+ new

@@ -15,10 +15,10 @@ # class_option :invitable, optional: true, type: :array, banner: 'invitable', # desc: "Specify the model class name if you will use anything other than 'User'" def verify - if options[:model] && !File.exists?(model_path) + if options[:model] && !File.exist?(model_path) puts "Exiting: the model class you specified, #{options[:model]}, is not found." exit 1 end end