How rspec works with rails3 for integration-tests?
Posted
by makevoid
on Stack Overflow
See other posts from Stack Overflow
or by makevoid
Published on 2010-01-25T10:37:54Z
Indexed on
2010/03/16
14:36 UTC
Read the original article
Hit count: 526
What I'm trying to ahieve is to do integration tests with webrat in rails3 like Yehuda does with test-unit in http://pivotallabs.com/talks/76-extending-rails-3 minute 34.
an example:
describe SomeApp
it "should show the index page"
visit "/"
body.should =~ /hello world/
end
end
Does someone knows a way to do it?
© Stack Overflow or respective owner