Hi,
I use rake spec to run file user_controller_spec
but it seems nothing happed
can anyone help me to solve the problem
yennie@ubuntu:~/Desktop/Picto$ rake spec
(in /home/joanne/Desktop/Picto)
Test file
Picto/spec/user_controller_spec.rb
require "spec_helper"
describe User do
before (:each) do
@user = User.new
end
it "should check before do something" do
@address = @user.address("dsds")
@user.address.should eq ("dsds")
end
end
end
plz help ... thanks
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.