Merge pull request #723 from booch/master
Fix test to call correct method under test
This commit is contained in:
commit
555008c747
|
@ -34,7 +34,7 @@ shared_examples_for "session" do
|
|||
# method(:html) == method(:body) because these shared examples get run
|
||||
# against the DSL, which uses forwarding methods. So we test behavior.
|
||||
@session.visit('/')
|
||||
@session.body.should include('Hello world!')
|
||||
@session.html.should include('Hello world!')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue