www.un.org/Depts/DGACM/index_spanish.htm http:// localhost:8080/“rel=“noreferer”http:// localhost:8080//strong>。
• 撰写我的第一个故事,家事:
require spec_helper
describe "home" do
it "should render the home page" do
visit "/"
page.should have_content("hello world")
end
end
运行:
rspec
我收到了:
F
Failures:
1) home should render the home page
Failure/Error: visit "/"
NoMethodError:
undefined method `visit for #<RSpec::Core::ExampleGroup::Nested_1:0x242870b7>
# ./spec/home/home_spec.rb:7:in `(root)
Finished in 0.012 seconds
1 example, 1 failure
Failed examples:
rspec ./spec/home/home_spec.rb:6 # home should render the home page
www.un.org/Depts/DGACM/index_spanish.htm 是否应当开展这项工作,因为我已经把 cap虫列入“帮助者吗?。
它知道如何访问正确的导游? 如果我的王位是当地东道方:3030或当地东道方:80?
My gemfile:
source http://rubygems.org
gem "activerecord"
gem "rspec"
gem "capybara"
gem "activerecord-jdbcmysql-adapter"
我的幽灵——帮助者:
require capybara/rspec