The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Add layout checking to test_spec_rails

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Matthew Bass

Posts: 468
Nickname: pelargir
Registered: Dec, 2005

Jared Richardson and Matthew Bass are independent software consultants
Add layout checking to test_spec_rails Posted: Jan 9, 2008 9:10 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Matthew Bass.
Original Post: Add layout checking to test_spec_rails
Feed Title: Pelargir
Feed URL: http://feeds.feedburner.com/pelargir/
Feed Description: Musings on software and life from Matthew Bass. Regular posts on new web products, tips and tricks, etc.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Matthew Bass
Latest Posts From Pelargir

Advertisement
test_spec_rails is a plugin that adds Rails-specific assertions to test_spec, allowing you to do nifty things like this: it "should render with foo template" do   get :some_action   template.should.be "foo"   # equivalent to assert_equal "foo", @response.template end   it "should display foo on page" do   get :some_action   page.should.select "p", "foo"   # equivalent to assert_select "p", "foo"   end One thing test_spec_rails is missing, though, is the ability to check [...]

Read: Add layout checking to test_spec_rails

Topic: Ruby In Steel Text Edition $49 - Includes Visual Studio Previous Topic   Next Topic Topic: RDoc's TemplatePage removed from Ruby

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use