Alias body as source
This commit is contained in:
parent
52e9bee48b
commit
22705199eb
|
@ -33,7 +33,7 @@ class Capybara::Driver::Webkit
|
|||
end
|
||||
|
||||
def body
|
||||
raise NotImplementedError
|
||||
source
|
||||
end
|
||||
|
||||
def execute_script(script)
|
||||
|
|
|
@ -61,5 +61,9 @@ describe Capybara::Driver::Webkit do
|
|||
|
||||
</body></html>}
|
||||
end
|
||||
|
||||
it "aliases body as source" do
|
||||
subject.body.should == subject.source
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue