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