plugins/document_search/features/replace.feature in redcar-0.7 vs plugins/document_search/features/replace.feature in redcar-0.8

- old
+ new

@@ -129,8 +129,16 @@ And I press "Replace" in the speedbar And I press "Replace" in the speedbar And I press "Replace" in the speedbar Then the contents should be "foobar\nfoobar\nfoobar" And the selection range should be from 14 to 20 - - + + Scenario: The Search-and-Replace Speedbar should get initialized with the currently selected text + When I replace the contents with "Foo\nBar\nFoo" + And I select from 4 to 7 + When I run the command DocumentSearch::SearchAndReplaceCommand + Then the "Search" field in the speedbar should have text "Bar" + When I type "Foo" into the "Replace" field in the speedbar + And I press "Replace" in the speedbar + Then the contents should be "Foo\nFoo\nFoo" + \ No newline at end of file