Ruby on Rails Monday, April 28, 2014

>> users/new.html.erb add some examples to (or delete)
>>
>
/home/jaimin/rails3/rails_projects/sample_app/spec/views/users/new.html.erb_spec.rb
>
>> How can I solve this?
>
> By reading and following the directions in the message?
>
> Have you even looked at the files referenced?

It is right I should follow the directions which is given in message.

The " users_helper_spec.rb " file contain following code:

require 'spec_helper'

# Specs in this file have access to a helper object that includes
# the UsersHelper. For example:
#
# describe UsersHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# helper.concat_strings("this","that").should == "this that"
# end
# end
# end
describe UsersHelper do
pending "add some examples to (or delete) #{__FILE__}"
end

which example should I add? The example given in comment form, that
should I add in " users_helper_spec.rb " file?

Kind regards.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5ae5550b05245e587250cb74129a2252%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment