From 4a5ce6267803b199fd33814af26f7f7d8440702f Mon Sep 17 00:00:00 2001 From: Juan Carlos Date: Fri, 30 May 2014 14:06:07 -0500 Subject: [PATCH] pruebas para evento, inicio, #17 --- spec/models/evento_spec.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 spec/models/evento_spec.rb diff --git a/spec/models/evento_spec.rb b/spec/models/evento_spec.rb new file mode 100644 index 0000000..1264d5a --- /dev/null +++ b/spec/models/evento_spec.rb @@ -0,0 +1,14 @@ +require 'spec_helper' + +describe Evento do + + before do + @evento = Evento.new(nombre: "Evento1") + end + + subject { @evento} + + it { should respond_to(:nombre)} + + +end